Could that be done ? - 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: Could that be done ? (
/showthread.php?tid=76847)
Could that be done ? -
kingkongusa - 07.05.2009
Is there a way to make a ingame - script that when i click say for exmaple ENTER it will rob the person i am near ?
like bind the /rob command into ENTER , could that be done ?
Re: Could that be done ? -
Nero_3D - 07.05.2009
yes, use OnPlayerKeyStateChange
but note, you cant take spezial keys, only keys that you are using for GTA, like enter (to enter a vehicle) or LMB to shot