Cops counting problem
#3

You are missing IsPlayerConnected

PHP код:
#pragma unused params
if (IsPlayerConnected(playerid)) {
    for (new 
0MAX_PLAYERSi++)
        if (
IsPlayerConnected(i) && (PlayerInfo[i][pMember] == || PlayerInfo[i][pLeader] == 1))
            
LEOOnline++;
    
    if (
LEOOnline 4)
        return 
SendClientMessage(playeridCOLOR_GRAD3"You need at least 4 Law Enforcement officers!");

Reply


Messages In This Thread
Cops counting problem - by Lidor124 - 25.09.2013, 09:06
Re: Cops counting problem - by Konstantinos - 25.09.2013, 09:18
Re: Cops counting problem - by =KempeR= - 25.09.2013, 09:25
Re: Cops counting problem - by Lidor124 - 25.09.2013, 09:25

Forum Jump:


Users browsing this thread: 1 Guest(s)