SA-MP Forums Archive
Key define - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Key define (/showthread.php?tid=206160)



Key define - Master_FM - 03.01.2011

Hi,

i made this:

if(PRESSED(KEY_WALK))

in a vehicle to set the engine... But the key isnt defined for the vehicle... How i can define it?!


Re: Key define - bartje01 - 03.01.2011

Do you have an error or something? Then post your error because I'm not sure what you mean


Re: Key define - Master_FM - 03.01.2011

No i dont have an error

I am in a vehicle and wants to start it with the KEY_WALK key, but it dont work

With other KEYS like KEY_ACTION it works... And because of that i wanted to ask through the key is valid for vehicles or not


Re: Key define - bartje01 - 03.01.2011

Ow, now I understand. Well. I'm not sure if it is. You better just use the SHIFT key.


Re: Key define - Master_FM - 03.01.2011

The shiftkey is the same like Nitro, thats bad

And brake i dont want