SA-MP Forums Archive
KEY_ANALOG_UP and KEY_ANALOG_DOWN not detected on foot - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: KEY_ANALOG_UP and KEY_ANALOG_DOWN not detected on foot (/showthread.php?tid=507963)



KEY_ANALOG_UP and KEY_ANALOG_DOWN not detected on foot - adri1 - 20.04.2014

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.


Re: KEY_ANALOG_UP and KEY_ANALOG_DOWN not detected on foot - Pottus - 20.04.2014

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


Respuesta: Re: KEY_ANALOG_UP and KEY_ANALOG_DOWN not detected on foot - adri1 - 20.04.2014

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


Re: KEY_ANALOG_UP and KEY_ANALOG_DOWN not detected on foot - Pottus - 20.04.2014

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


Respuesta: KEY_ANALOG_UP and KEY_ANALOG_DOWN not detected on foot - adri1 - 20.04.2014



SA:MP Wiki error?


Re: KEY_ANALOG_UP and KEY_ANALOG_DOWN not detected on foot - RoboN1X - 20.04.2014

Its macro is KEY_ANALOG_UP

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


Respuesta: Re: KEY_ANALOG_UP and KEY_ANALOG_DOWN not detected on foot - adri1 - 20.04.2014

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

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


Re: KEY_ANALOG_UP and KEY_ANALOG_DOWN not detected on foot - Pottus - 20.04.2014

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.