24.06.2014, 14:45
PHP код:
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==23 || member==25)
{
return 1;
}
else if(lider==1 || lider==2 || lider==3 || lider==16 || lider==11 || lider==23 || lider==25)
{
return 1;
}
}
return 0;
}