Jump to content

disable dying under the vehicle


erisP

Recommended Posts

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 by c0nfl1ct
used some brain now
  • Like 1
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...