SA-MP Forums Archive
help me to fix cmd for open gate please. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help me to fix cmd for open gate please. (/showthread.php?tid=110368)



help me to fix cmd for open gate please. - buonggiorno - 26.11.2009

Hi to all, i make gate which just police can open and it work perfect, but what to edit in code down to fbi and national guard can open it too?

here is code where i set just pd to open it
Код:
if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1)
1 is number of police organization.

What need to edit? :S


Re: help me to fix cmd for open gate please. - LarzI - 26.11.2009

Post in the GM topic please!