07.12.2011, 21:43
pawn Код:
public IsACop(playerid)
{
if(IsPlayerConnected(playerid))
{
new lider = PlayerInfo[playerid][pLider];
new member = PlayerInfo[playerid][pMembro];
if(member==1 || member==2 || member==3 || member==16 || member==11 || member==24)
{
return 1;
}
else if(lider==1 || lider==2 || lider==3 || lider==16 || lider==11 || lider==24)
{
return 1;
}
}
return 0;
}