06.07.2012, 14:30
https://sampwiki.blast.hk/wiki/OnPlayerStateChange
https://sampwiki.blast.hk/wiki/OnPlayerEnterVehicle
You will need to add an if statement to check if the player is in the correct faction to enter the vehicle under OnPlayerStateChange for it to have the effect where it only tells you that you can't enter if you actually get in.
https://sampwiki.blast.hk/wiki/OnPlayerEnterVehicle
You will need to add an if statement to check if the player is in the correct faction to enter the vehicle under OnPlayerStateChange for it to have the effect where it only tells you that you can't enter if you actually get in.