Signature
stock bool:xs_freevisibleslots(num){ new maxplayers = get_cvar_num("sv_visiblemaxplayers"); if(maxplayers <= 0) maxplayers = MaxClients; return(get_playersnum(1) <= maxplayers-num) ? true : false;}
Description
Checks whether there are at least @num free visible slots.
Parameters
- num — The number of slots to check.
Returns
true if there are at least that many free, false otherwise.