SA-MP Forums Archive
Key help - 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: Key help (/showthread.php?tid=162003)



Key help - TheKingOfSamp - 21.07.2010

i need a help that when the cop press horn then the gate open i hope that you help me !


Re: Key help - Mystique - 21.07.2010

I don't know the exact function but under OnPlayerKeyStateChange you set that if a player presses h it moves the gate with MoveObject.


Re: Key help - Conroy - 21.07.2010

You can't use every key, it has to be GTA keys.

More info: https://sampwiki.blast.hk/wiki/GetPlayerKeys