Making exceptions for autorepair
#5

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."
this post is kind of useless, noone asked that...

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..
Exactly both need 1 if check and none would be better to check if he is the driver...
Reply


Messages In This Thread
Making exceptions for autorepair - by dice7 - 12.05.2009, 12:02
Re: Making exceptions for autorepair - by Weirdosport - 12.05.2009, 12:11
Re: Making exceptions for autorepair - by Nero_3D - 12.05.2009, 12:17
Re: Making exceptions for autorepair - by Weirdosport - 12.05.2009, 12:20
Re: Making exceptions for autorepair - by Nero_3D - 12.05.2009, 12:23

Forum Jump:


Users browsing this thread: 1 Guest(s)