09.02.2014, 18:00
pawn Код:
CMD:playerssala1(playerid, params[])
{
new stringpt[128], numerodp;
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(GetPlayerVirtualWorld(i) == GetPlayerVirtualWorld(playerid))
numerodp ++;
}
format(stringpt, sizeof(stringpt), "Tem %d Na Sala 1.", numerodp);
SendClientMessage(playerid, -1, stringpt);
return true;
}