Piorjade Posted April 14, 2017 Share Posted April 14, 2017 (edited) I'm currently making a roleplay script and the current task is to implement a driver license system where the player gets kicked out of the car if he doesn't have a license. The removePedFromVehicle function works quite well but I think it's not pretty if the player gets kicked out instantly and pops out on top of the vehicle. Is there a way to let the player normally exit like he would do if he exited manually? I know it exists as I have seen it on other servers already Thank you in advance! Edited April 14, 2017 by Piorjade Link to comment
Mr.Loki Posted April 14, 2017 Share Posted April 14, 2017 (edited) You can block the player from entering the vehicle by canceling the onVehicleStartEnter the example on that page is just what you are looking for with just a few tweaks Edited April 14, 2017 by Mr.Loki Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now