17.03.2012, 02:02
Hmm so yeah we can say that OnPlayerStateChange is more versatile, like more multipurpose and more accurate, whereas OnPlayerEnterVehicle and OnPlayerExitVehicle are more specific and more limited, right?
But one thing: are you sure that OnPlayerExitVehicle is not called when the player presses the exiting key, and that it's called only when the player has fully got out of his vehicle? I have used SetPlayerPos in this callback to remove the exiting animation and it has worked from the very first moment, ejecting me from the vehicle in the right instant of pressing the key.
But one thing: are you sure that OnPlayerExitVehicle is not called when the player presses the exiting key, and that it's called only when the player has fully got out of his vehicle? I have used SetPlayerPos in this callback to remove the exiting animation and it has worked from the very first moment, ejecting me from the vehicle in the right instant of pressing the key.