Jump to content

[HELP]Vehicle bulletproof


Motar2k

Recommended Posts

  • Scripting Moderators
8 minutes ago, Avival said:

How can I shield the windshield and the wheels of a vehicle, without having to shield the entire vehicle?

1. If you are about damage when shooting glass.

My solution:

- Cancel damage on event which is responsible for player damage.

* Simply check if player is in vehicle, and body part is 9.

2. I don't have idea for that.

My solution:

- setVehicleDamageProof, which also protects wheels.

* Apply cancelEvent() for onClientVehicleDamage, damage vehicle by script.

  • 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...