Jump to content

Help


Dzsipszi

Recommended Posts

I want damageable cars but prevent from get fire and explode.

You can do this by using the event onVehicleDamage, get the health of the vehicle with the function getElementHealth, and check if the health of the vehicle is low (before it get fire) then make it not damageable with the function setVehicleDamageProof.

That's a long way, Mr.Pres[T]ege's way is better ..

Who cares if it long or short? (it's short actually)

fixVehicle with timer also you might need to loop all of the vehicle in the server, you call this a better way? :o

Oh and remember:

I want damageable cars but prevent from get fire and explode.
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...