kustoki Posted December 6, 2020 Share Posted December 6, 2020 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 comment Share on other sites More sharing options...
Shourya90 Posted January 13, 2021 Share Posted January 13, 2021 also not working for c# Link to comment Share on other sites More sharing options...
Armyw0w Posted January 14, 2021 Share Posted January 14, 2021 If all events works, but this one doesn't, you should report it as a bug. Be careful that that event is fired only when a vehicle explode. Link to comment Share on other sites More sharing options...
SugarD-x Posted July 29, 2021 Share Posted July 29, 2021 It only works if someone is in the vehicle. I've been complaining about this issue for awhile, but sadly there is no decent workaround. The only suggestions I've heard involve abusing vehicle updates every tick, which is a VERY bad idea if you intend to have more than 5 or so people online at once because of the crazy processing you'll cause. Link to comment Share on other sites More sharing options...
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