change key - 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: change key (
/showthread.php?tid=133054)
change key -
02manchestera - 10.03.2010
Код:
if((newkeys & KEY_CROUCH) && (newkeys & KEY_FIRE) )
How can i change this to left ctrl by it sef not to keys
Re: change key -
Fedee! - 10.03.2010
You can't.. :S
You just can detect the ones that are used by GTA like
KEY_FIRE or
KEY_ACTION
You can only make it work with ctrl if you have configured on your GTA on
controller setup the
action key to ctrl.
Re: change key -
02manchestera - 10.03.2010
what keys can be used.
Re: change key -
Fedee! - 10.03.2010
Search on Wiki.
Re: change key -
aircombat - 10.03.2010
https://sampwiki.blast.hk/wiki/GetPlayerKeys
this has a list of all keys , there is 2 ctrl :
KEY_SECONDARY_ATTACK
KEY_FIRE
those both i think