01.10.2013, 17:46
Try this:
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][pMember] == 1 || PlayerInfo[i][pLeader] == 1)
{
LEOOnline++;
}
}
}
if(LEOOnline < 4) return SendClientMessage(playerid, COLOR_GRAD3, "You need at least 4 Law Enforcement Officers!");