Quellcode |
|
1 |
native GetClientCount(bool:inGameOnly=true); |
Quellcode |
|
1 2 3 |
new count = 0; for (new i = 1; i <= MaxClients; i++) if (IsClientInGame(i) && IsClientConnected(i) && !IsFakeClient(i)) count++; |