Rafista Posted May 11, 2020 Posted May 11, 2020 How to prohibit the player from entering the vehicle using 'playerStartEnterVehicle' event. For example player don't have driving license and I want to check during enter vehicle. Which function is responsible for that? I was trying to use stopAnimation() but it doesn't work. Any ideas?
MrMaloi Posted May 11, 2020 Posted May 11, 2020 Try this: https://wiki.rage.mp/index.php?title=PlayerStartEnterVehicle
Rafista Posted May 12, 2020 Author Posted May 12, 2020 19 hours ago, MrMaloi said: Try this: https://wiki.rage.mp/index.php?title=PlayerStartEnterVehicle This is event, which call function after pressing 'F' close to vehicle. I need a method, which not allow player to enter vehicle.
Xabi Posted May 12, 2020 Posted May 12, 2020 You can use return true; in your event's code to cancel it.
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