Number of players in a world ?
#2

Код:
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);
Reply


Messages In This Thread
Number of players in a world ? - by GeekSiMo - 23.05.2014, 17:57
Re: Number of players in a world ? - by ball - 23.05.2014, 18:02
Re: Number of players in a world ? - by GeekSiMo - 23.05.2014, 18:08
Re: Number of players in a world ? - by ball - 23.05.2014, 18:21
Re: Number of players in a world ? - by GeekSiMo - 23.05.2014, 18:51
Re : Number of players in a world ? - by mirou123 - 23.05.2014, 18:53

Forum Jump:


Users browsing this thread: 1 Guest(s)