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



Detect Key fired - colonel-top - 27.01.2014

Hello guys im trying make limit fired rocket times on hunter only hunter so how i can create it ?
Should i create in onplayerupdate or key statechange and how to ?
Im trying did it in onplayerkeystatechange but not working
(im use isplayervehicle 425)
Thx for help very much thnk you


Re: Detect Key fired - jiwan - 27.01.2014

I don't think you can stop player shooting rockets but you may try

this https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange