14.01.2015, 15:39
No, like this:
pawn Код:
new count = 0;
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(!IsPlayerConnected(i)) continue;
if(PlayerInfo[i][pjailed]) count++;
}
if(!count) SendClientMessage(playerid, -1, "No players in jail.");