Keys issue - 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: Keys issue (
/showthread.php?tid=475659)
Keys issue -
Stanford - 14.11.2013
Thanks for anybody that have seen the topic, the issue was fixed.
Stanford.
Re: Keys issue -
ikkentim - 14.11.2013
Did it get past the first IF-statement? Try this out by printing a message with the value of 'engine' after GetVehicleparamsEx.
Re: Keys issue -
Stanford - 14.11.2013
The issue is fixed by replacing KEY_UP to KEY_SPRINT which means that KEY_SPRINT is used as key W while being in a vehicle in GTA.
Thanks anyway!.
Re: Keys issue -
ikkentim - 14.11.2013
For whenever you post another question, please do not remove the first post! People can use it for reference to find the issue in their own code when they do a similar thing/ similar mistake.
Re: Keys issue -
Stanford - 14.11.2013
thanks for the help!