Posts: 104
Threads: 4
Joined: Dec 2012
Reputation:
0
Hi. How to detect press on keyboard keys M, I, etc? I know how to detect keys Y, H and N, but no more.
Posts: 1,781
Threads: 13
Joined: Sep 2009
Reputation:
0
this is not, and never will be, possible. hence a KeyDetect() in playerlogin callbacks.
you are limited to the native KEY_xxx constants.
little tip: sometimes its handy to use the numpad 2,4,6,8 (camera) keys to control a custom object cursor or similar.
Posts: 104
Threads: 4
Joined: Dec 2012
Reputation:
0
KEY_ANALOG_LEFT and KEY_ANALOG_RIGHT working onfoot, but player can change key (San Andreas settings) ONLY invehicle. Wtf?