19.02.2009, 04:53
Yes they do.
OnPlayerEnterVehicle is called when player presses ENTER and starts running towards the vehicle and player's state is changed to PLAYER_STATE_DRIVER when the player is in the vehicle.
If you mean SetPlayerSkin freezes the player when pressing ENTER, just check that OnPlayerEnterVehicle-callback hasn't been called, if it has, don't let him change the skin.
If you mean it freezes when the player is inside the vehicle, do the same thing with OnPlayerStateChange and PLAYER_STATE_DRIVER.
OnPlayerEnterVehicle is called when player presses ENTER and starts running towards the vehicle and player's state is changed to PLAYER_STATE_DRIVER when the player is in the vehicle.
If you mean SetPlayerSkin freezes the player when pressing ENTER, just check that OnPlayerEnterVehicle-callback hasn't been called, if it has, don't let him change the skin.
If you mean it freezes when the player is inside the vehicle, do the same thing with OnPlayerStateChange and PLAYER_STATE_DRIVER.

