23.05.2014, 18:02
Код:
new __pl; for(new playerid; playerid != MAX_PLAYERS; playerid++) { if(IsPlayerConnected(playerid) && GetPlayerVirtualWorld(playerid) == your_world) { __pl++; } } printf ("%d players in world %d", __pl, your_world);