OnPlayerEnterVehicle help
#5

Quote:
Originally Posted by danielpalade
Посмотреть сообщение
But I don't want them to be able to enter the car.
Uhm. Why wouldn't you want them to be able to enter the car? I am afraid there is no way of detecting if a player wants to enter the driver side of a vehicle, atleast it is what I know, correct me if I am wrong hence why I told you to use OnPlayerStateChange.

Edit: The issue with your code is OnPlayerEnterVehicle is called when a player starts entering a vehicle therefore his state won't be changed to a passenger or a driver, so getplayerstate won't work at all.
Reply


Messages In This Thread
OnPlayerEnterVehicle help - by danielpalade - 02.02.2016, 21:47
Re: OnPlayerEnterVehicle help - by Rufio - 02.02.2016, 21:50
Re: OnPlayerEnterVehicle help - by Jefff - 02.02.2016, 21:51
Re: OnPlayerEnterVehicle help - by danielpalade - 02.02.2016, 22:11
Re: OnPlayerEnterVehicle help - by Rufio - 02.02.2016, 22:21
Re: OnPlayerEnterVehicle help - by KillerDVX - 02.02.2016, 22:38
Re: OnPlayerEnterVehicle help - by DarkClone - 03.02.2016, 02:28

Forum Jump:


Users browsing this thread: 1 Guest(s)