PHP код:
Can you please help me to fix it |
if((!IsACop(playerid) || !IsALVMPDCop(playerid)))
IsACop(playerid)
{
if(IsPlayerConnected(playerid))
{
new leader = PlayerInfo[playerid][pLeader];
new member = PlayerInfo[playerid][pMember];
if(member==1 || member==2 || member== 3 || member==6 || member==7 || member==11 || member==13 || member==18 || member==19)
{
return 1;
}
else if(leader==1 || leader==2 || leader == 3 || leader==6 || leader==7 || leader==11 || leader==13 || leader==18 || leader==19)
{
return 1;
}
}
return 0;
}
if((!IsACop(playerid)) || !IsALVMPDCop(playerid))
if((!IsACop(playerid)
if((!IsACop(playerid) || !IsALVMPDCop(playerid))) return SendClientMessageEx(playerid, COLOR_GREY, " You are not a member of L.E.O !");
if(!IsACop(playerid) && !IsALVMPDCop(playerid))
{
return Error(playerid, "You are not authorized to use this command");
}