erisP Posted October 17, 2020 Share Posted October 17, 2020 Is there any code to prevent the player from dying under the vehicle? Link to comment
Administrators Tut Posted October 17, 2020 Administrators Share Posted October 17, 2020 Your thread has been moved to the Scripting forum for the best results. Link to comment
c0nfl1ct Posted October 22, 2020 Share Posted October 22, 2020 (edited) Hi, use onClientPlayerDamage event, check if players animation is this one when he is under the vehicle (couldn't find it quickly, sorry). If so - cancelEvent(). ^This will also cancel being beaten by another player if you are on the ground. There is damage_causing parameter given by onClientPlayerDamage event. Check if here for its id, then cancel the event. Edited October 22, 2020 by c0nfl1ct used some brain now 1 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