SA-MP Forums Archive
checking if the faction type is 1 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: checking if the faction type is 1 (/showthread.php?tid=458859)



checking if the faction type is 1 - Binx - 18.08.2013

Okay so I wanna make a command for LEOs but only if their faction type is 1?
I tried this: PlayerInfo[playerid][FacInfo[facid][pType]]
But I get undefined facid (I only have facid defined under the saving/loading)

Anyone help?


Re: checking if the faction type is 1 - Vanter - 18.08.2013

show us your enum