Incorrect
#1

I get errors from this line, any help?
PHP код:
CMD:gov(playeridparams[])
{
    if(
IsACop(playerid) || IsALVMPDCop(playerid) || PlayerInfo[playerid][pMember] == || PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == || PlayerInfo[playerid][pLeader] == 4 PlayerInfo[playerid][pMember] == 12 && PlayerInfo[playerid][pRank] == 6);//this line
    
{
        if(
isnull(params))
        {
            
SendClientMessageEx(playeridCOLOR_GRAD2"USAGE: (/gov)ernment [text]");
            return 
1;
        } 
Reply
#2

PHP код:
    if(IsACop(playerid) || IsALVMPDCop(playerid) || PlayerInfo[playerid][pMember] == || PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == || PlayerInfo[playerid][pLeader] == 4 PlayerInfo[playerid][pMember] == 12 && PlayerInfo[playerid][pRank] == 6);//this line 
Код:
|| PlayerInfo[playerid][pLeader] == 4 PlayerInfo[playerid][pMember] == 12
Missed && or || between [pLeader] == 4 and PlayerInfo[playerid][pMember] == 12
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)