01.07.2012, 00:46
forward IsACop(playerid);
Код:
public IsACop(playerid) { if(IsPlayerConnected(playerid)) { new leader = PlayerInfo[playerid][pLeader]; new member = PlayerInfo[playerid][pMember]; if(member==1 || member==2 || member==19) { return 1; } else if(leader==1 || leader==2 || leader==19) { return 1; } } return 0; }