SetPlayerSkin freezes player if entering vehicle
#7

Quote:
Originally Posted by Finn
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.
I mean when the player is entering the vehicle. And if I do what you are suggesting then what if the player decides not to enter the vehicle and walks away from it? There is no way of detecting that.

So basically I have reported this bug. It would be good if people could stop pretending they are trying to help me when all they are doing is criticising everything I say.

SetPlayerSkin freezes the player if he is entering a vehicle. That is the bug. On the talk of getting around it, you can not detect if a player is entering a vehicle or not.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)