Jump to content
RAGE Multiplayer Community

Nodejs Event.VehicleDeath don't work


Recommended Posts

Hello everyone!! Trying to use this code from ragemp wiki but nothing happens

https://wiki.rage.mp/index.php?title=VehicleDeath

mp.events.add("vehicleDeath", (vehicle) => {
    vehicle.destroy()
});

Can't understand... am i doing something wrong or is that some kind of a bug?

Link to post
Share on other sites
  • 1 month later...

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