Keys - 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: Keys (
/showthread.php?tid=155387)
Keys -
Don_Lidner - 18.06.2010
KEY_FIRE
How to change it to
In CTRL?
Re: Keys -
DJDhan - 18.06.2010
You mean you want to use Ctrl instead of LMB for firing?
There is a setting in-game in th econtroller settings menu. Redefine the controls there.
AND if you mean you want to detect when a player presses the Ctrl key, KEY_FIRE is mapped on the CTRL key and the LMB both. So you can use KEY_FIRE to detect if a player presses the Ctrl key.
EDIT: For a list of Keys that can be detected,
CLICK ME.