Is there a way to...
#4

Simples, like Cena said use OnPlayerStateChange, check if the player is a passenger, get the vehicle id he is in and then loop through players in range and check if they're inside a vehicle (as a driver) and see if the vehicle id matches the one the passenger is in.
Note: do not use OnPlayerEnterVehicle as they're not in the vehicle yet.
Reply


Messages In This Thread
Is there a way to... - by Rufio - 08.07.2014, 11:58
Re: Is there a way to... - by Cena44 - 08.07.2014, 12:07
Re: Is there a way to... - by thimo - 08.07.2014, 12:16
Re: Is there a way to... - by Virtual1ty - 08.07.2014, 12:17

Forum Jump:


Users browsing this thread: 1 Guest(s)