Posts: 983
Threads: 98
Joined: Feb 2012
Reputation:
0
Thanks for anybody that have seen the topic, the issue was fixed.
Stanford.
Posts: 1,052
Threads: 46
Joined: Jan 2010
Reputation:
0
Did it get past the first IF-statement? Try this out by printing a message with the value of 'engine' after GetVehicleparamsEx.
Posts: 983
Threads: 98
Joined: Feb 2012
Reputation:
0
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!.
Posts: 1,052
Threads: 46
Joined: Jan 2010
Reputation:
0
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.