Small Command Help?
#4

Quote:
Originally Posted by Antonio (eternalrp.webatu.com)
Isn't this saying that if you ARE the leader, you cannot do it?
pawn Код:
if(strcmp(cmd, "/gov", true) == 0)
{
    if((PlayerInfo[playerid][pFLeader] == 11) || (PlayerInfo[playerid][pFLeader] == 13) || (PlayerInfo[playerid][pFLeader] == 12) || (PlayerInfo[playerid][pFLeader] == 16))
    {
        //some shit here : if he is 11,12,13,16
    }
    else
    {
        SendClientMessage(playerid, COLOR_RED, "You aren't the leader of any City Services (LSPD, EMS, GOV, NG)");
    }
    return 1;
}
did something wrong xd
Reply


Messages In This Thread
Small Command Help? - by Antonio [G-RP] - 28.05.2010, 23:00
Re: Small Command Help? - by sjvt - 28.05.2010, 23:07
Re: Small Command Help? - by Antonio [G-RP] - 28.05.2010, 23:08
Re: Small Command Help? - by sjvt - 28.05.2010, 23:10
Re: Small Command Help? - by Antonio [G-RP] - 28.05.2010, 23:58

Forum Jump:


Users browsing this thread: 1 Guest(s)