Change IsACop
#6

Alright I'm going to play "guess the code"

pawn Код:
IsACop(playerid)
{
    if(IsPlayerConnected(playerid))
    {
        new leader = PlayerInfo[playerid][pLeader];
        new member = PlayerInfo[playerid][pFaction];
        if(member==1 || member==2 || member == 10)
        {
            return 1;
        }
        else if(leader==1 || leader==2 || leader == 10)
        {
            return 1;
        }
    }
    return 0;
}
What did I do to make this happen?
I added member == 10 and leader ==10 which you need.
Reply


Messages In This Thread
Change IsACop - by Doros - 19.01.2014, 10:52
Re: Change IsACop - by Sithis - 19.01.2014, 11:46
Re: Change IsACop - by Doros - 19.01.2014, 12:11
Re: Change IsACop - by Doros - 19.01.2014, 14:32
Re: Change IsACop - by DerickClark - 19.01.2014, 14:36
Re: Change IsACop - by Natric - 19.01.2014, 14:39
Re: Change IsACop - by Doros - 19.01.2014, 14:52

Forum Jump:


Users browsing this thread: 1 Guest(s)