Problem with car IDS
#2

You should set the PVar "Message" to 0 again if the player enters a vehicle in OnPlayerStateChange (if you didnt do that already).

Does the Command /Engine work correctly after you did ^ this?


Furthermore, I would rather use a timer for this than OnPlayerUpdate (OnPlayerUpdate gets called pretty often, the timer can be set to 1 second), also the Broken variable is not really needed, because you can check the vehicle's health in the CMD again, which makes it more safe.
Reply


Messages In This Thread
Problem with car IDS - by arjanforgames - 21.07.2013, 20:08
AW: Problem with car IDS - by NaS - 21.07.2013, 21:05

Forum Jump:


Users browsing this thread: 1 Guest(s)