KEY_ANALOG_UP and KEY_ANALOG_DOWN not detected on foot
#1

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.
Reply
#2

Probably because those keys are only used when in a vehicle of course.
Reply
#3

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
Reply
#4

Yeah there is no entry for on foot because they don't work on foot.
Reply
#5



SA:MP Wiki error?
Reply
#6

Its macro is KEY_ANALOG_UP

it get called when "JOYPAD" is selected as controller. (On Foot)
Reply
#7

Quote:
Originally Posted by RoboN1X
Посмотреть сообщение
Its macro is KEY_ANALOG_UP

it get called when "JOYPAD" is selected as controller. (On Foot)
Or NUM8
Reply
#8

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)