07.11.2012, 03:14
u should add something new like, so any player in certain factions ftype will b 1 and will be a cop
or u can use "or"
PHP код:
pFType(faction type)
pawn Код:
stock IsACop(playerid)
{
if(PlayerInfo[playerid][pFType] = 1) return 1;
return 0;
}
pawn Код:
stock IsACop(playerid)
{
if(PlayerInfo[playerid][pFac] = 1||PlayerInfo[playerid][pFac] = 2) return 1;
return 0;
}