AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to get 20players? (https://forums.alliedmods.net/showthread.php?t=174492)

kiki33hun 12-21-2011 04:13

How to get 20players?
 
Hy, how to get 20players?

example:
if(onlineplayers == 20)
server_cmd(amx_kick ...etc

Devil259 12-21-2011 05:15

Re: How to get 20players?
 
Loop throught all players and increment a variable.

drekes 12-21-2011 06:46

Re: How to get 20players?
 
get_playersnum()

kiki33hun 12-21-2011 07:56

Re: How to get 20players?
 
Thanx Drekes :)


All times are GMT -4. The time now is 11:56.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.