[HELP] keys - 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)
+--- Thread: [HELP] keys (
/showthread.php?tid=539188)
[HELP] keys -
Luca12 - 26.09.2014
Hello I have on my stats like this and for that I mean to use KEY_ANALOG_DOWN which is NUM 2 and KEY_ANALOG_UP which is NUM 8 but the problem is that is nothing happening but it should be when I press on my keyobard num 2 then I get life stats and then when I press num 8 to get account stats but nothing happening when I press num 2 but when instead of key_analog_up and down change in my script to key_analog_left which is num 4 and key_analog_right which is num 6 then it works I mean for example I press num 4 I get life stats but I want to do that with key_analog_down but that doesn't work I don't know why. I hope so that you understand me or at least understand what is my problem? Thanks
account
life
Re: [HELP] keys -
EnforcerDon - 27.09.2014
Could you show me your code?
Re: [HELP] keys -
Pottus - 27.09.2014
Those keys only work when in a vehicle I believe.
Re: [HELP] keys -
Luca12 - 27.09.2014
Quote:
Originally Posted by Pottus
Those keys only work when in a vehicle I believe.
|
yes you wright I tested it for light turning off and on is there a way to make it to work when I'm not in vehicle if you know what I mean? Thanks