Posts: 1,779
Threads: 126
Joined: Oct 2010
KEY_ANALOG_UP and KEY_ANALOG_DOWN not detected on foot in OnPlayerKeyStateChange, KEY_ANALOG_LEFT & KEY_ANALOG_RIGHT works fine.
PD: KEY_ANALOG_UP and KEY_ANALOG_DOWN in vehicle good work.
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
Probably because those keys are only used when in a vehicle of course.
Posts: 1,779
Threads: 126
Joined: Oct 2010
Quote:
Originally Posted by [uL]Pottus
Probably because those keys are only used when in a vehicle of course.
|
I thought that but look:
https://sampwiki.blast.hk/wiki/Keys
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
Yeah there is no entry for on foot because they don't work on foot.
Posts: 1,779
Threads: 126
Joined: Oct 2010
SA:MP Wiki error?
Posts: 453
Threads: 1
Joined: Feb 2011
Reputation:
0
Its macro is KEY_ANALOG_UP
it get called when "JOYPAD" is selected as controller. (On Foot)
Posts: 1,779
Threads: 126
Joined: Oct 2010
Quote:
Originally Posted by RoboN1X
Its macro is KEY_ANALOG_UP
it get called when "JOYPAD" is selected as controller. (On Foot)
|
Or NUM8
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
Yes the wiki is outdated in fact those two rows don't belong there they only assume default keys there is no way to determine the setup of the clients keys the gametext onfoot/vehicle indicated which keys work on foot/vehicle.