slap before getting in a car
#2

I'm not sure if you can entirely prevent opening the door, but take a look at https://sampwiki.blast.hk/wiki/OnPlayerEnterVehicle, which gets called when the player starts to enter a vehicle, not when he actually has entered it (as in your code with state checking)
Reply


Messages In This Thread
slap before getting in a car - by PepsiCola23 - 17.11.2016, 21:16
Re: slap before getting in a car - by Hiddos - 17.11.2016, 21:25
Re: slap before getting in a car - by PepsiCola23 - 17.11.2016, 21:39
Re: slap before getting in a car - by Pearson - 17.11.2016, 21:49
Re: slap before getting in a car - by PepsiCola23 - 17.11.2016, 21:57
Re: slap before getting in a car - by Pearson - 17.11.2016, 22:04
Re: slap before getting in a car - by Threshold - 18.11.2016, 03:42

Forum Jump:


Users browsing this thread: 2 Guest(s)