• How would i detect if a server is currently full?
    8 replies, posted
I've looked around but I can't seem to find any way to tell if a server is currently full. Does it exist?
#player.GetAll() == game.MaxPlayers()
[code] function IsFull() if (#player.GetAll() == game.MaxPlayers()) then return true end return false end[/code]
[QUOTE=Koolsami7;42825558][code] function IsFull() if (#player.GetAll() == GetConVarNumber("sv_maxplayers")) then return true end return false end[/code][/QUOTE] I saw that quick edit. :v:
Thank you :)
[QUOTE=Koolsami7;42825558] -snip- [/QUOTE] [code] function IsFull() return (#player.GetAll() == game.MaxPlayers()) end[/code]
Or you could just check the server list and see of it says 32/32 for example...
[QUOTE=KnoxvilleLAD;42826942]Or you could just check the server list and see of it says 32/32 for example...[/QUOTE] I greatly appreciate everyone who replies to my threads when I ask for help, but I think that's actually the dumbest thing I've heard all weekend.
[QUOTE=CallMePyro;42827035]I greatly appreciate everyone who replies to my threads when I ask for help, but I think that's actually the dumbest thing I've heard all weekend.[/QUOTE] Couldn't agree more. Everyone knows you need to attempt to join anyway incase the server is using sv_visiblemaxplayers.
Sorry, you need to Log In to post a reply to this thread.