Loop problem
#3

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!");
Reply


Messages In This Thread
Loop problem - by Lidor124 - 01.10.2013, 16:22
Re: Loop problem - by Lidor124 - 01.10.2013, 17:43
Re: Loop problem - by DanishHaq - 01.10.2013, 17:46
Re: Loop problem - by Lidor124 - 01.10.2013, 19:21
Re: Loop problem - by iZN - 01.10.2013, 19:25
Re: Loop problem - by Lidor124 - 01.10.2013, 19:30
Re: Loop problem - by iZN - 01.10.2013, 19:31
Re: Loop problem - by Dragonsaurus - 01.10.2013, 19:34
Re: Loop problem - by Lidor124 - 01.10.2013, 19:35
Re: Loop problem - by Lidor124 - 01.10.2013, 19:37

Forum Jump:


Users browsing this thread: 2 Guest(s)