11.11.2014, 20:13
pawn Код:
COMMAND:factions(playerid, params[])
{
new string[90],count=0;
for(new i=0;i<MAX_PLAYERS;i++)
{
if(PlayerInfo[i][playerteam] == COPS || PlayerInfo[i][playerteam] == FBI) count++;
}
format(string, sizeof(string), "Los Santos Police Department:Members [%d/45]", count);
SendClientMessage(playerid, -1, string);
return 1;
}