IsFactionCar isn't running
#2

OnPlayerEnterVehicle is called when a player presses the key to enter a vehicle. At that point the player isn't actually in the vehicle yet and the entering action may even be aborted. As such, you cannot remove a player from a vehicle they're not even in. Use ClearAnimations to stop the player from entering the vehicle, or use OnPlayerStateChange to eject the player after he has entered the vehicle.
Reply


Messages In This Thread
IsFactionCar isn't running - by ImTouchk - 26.09.2016, 18:13
Re: IsFactionCar isn't running - by Vince - 26.09.2016, 18:35
Re: IsFactionCar isn't running - by ImTouchk - 26.09.2016, 19:34
Re: IsFactionCar isn't running - by Shinja - 26.09.2016, 19:52
Re: IsFactionCar isn't running - by ImTouchk - 27.09.2016, 07:09
Re: IsFactionCar isn't running - by Konstantinos - 27.09.2016, 08:59

Forum Jump:


Users browsing this thread: 1 Guest(s)