OnPlayerKeyStateChange not processing the key pressed?
#5

It doesn't, but you should be saving the model ID of the vehicle you are inside in a variable in the first place. Since those functions do instructions, and the variable just stores the value which will always be the same.

You should also learn how to debug, that will help you see what runs, what doesn't, what turns out to be true, what doesn't, and so on.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)