Problem with RemovePlayerFromVehicle
#4

It depends where you are putting that code. If your putting it in OnPlayerEnterVehicle it wont work. However if you put it in OnPlayerStateChange and check if the newstate is PLAYER_STATE_DRIVER then remove them from vehicle. That should work.

OnPlayerEnterVehicle is called before the player actually enters the vehicle. As soon as they press enter it's called.
Reply


Messages In This Thread
Problem with RemovePlayerFromVehicle - by -CaRRoT - 26.05.2012, 06:58
Re: Problem with RemovePlayerFromVehicle - by newbienoob - 26.05.2012, 07:25
Re: Problem with RemovePlayerFromVehicle - by -CaRRoT - 26.05.2012, 07:26
Re: Problem with RemovePlayerFromVehicle - by iggy1 - 26.05.2012, 07:28
Re: Problem with RemovePlayerFromVehicle - by -CaRRoT - 26.05.2012, 07:30
Re: Problem with RemovePlayerFromVehicle - by iggy1 - 26.05.2012, 07:35
Re: Problem with RemovePlayerFromVehicle - by -CaRRoT - 26.05.2012, 07:38
Re: Problem with RemovePlayerFromVehicle - by newbienoob - 26.05.2012, 07:43
Re: Problem with RemovePlayerFromVehicle - by iggy1 - 26.05.2012, 07:46

Forum Jump:


Users browsing this thread: 2 Guest(s)