07.11.2012, 03:10
Hey all, I wanted to add leo factions into my script as i have only PD as it.But the cmds of Leo can be only used by PD, which i want to make available to other LEO factions which i add, in all of the LEO cmds to figure out wheather players a cop or not IsACop is used so i want to make the LEO factions i make fall in the IsACop.Heres the stock.PD is fac 1.As you can see below.
Код:
stock IsACop(playerid) { if(PlayerInfo[playerid][pFac] = 1) return 1; return 0; }