12.05.2009, 12:23
Quote:
Originally Posted by Weirdosport
OnPlayerEnterVehicle calls the second the player presses f to get in the vehicle, whereas OnPlayerStateChange changes to PLAYER_STATE_DRIVER only when they're in the car and ready to drive away.
Wiki - OnPlayerEnterVehicle: "This callback is called when a player starts to enter a vehicle." |
Quote:
Originally Posted by Weirdosport
Using OnPlayerEnterVehicle you would then have to check that the seat was the correct one, whereas with OnPlayerStateChange you can just check to see if they've become a driver.. There's very little in it either way..
|