Sign in to follow this  
irinel1996

[HELP]All vehicles fuel tank explodable.

Recommended Posts

Hi, I'm looking for a little script to make ALL vehicles fuel tank explodable when I start the server.

Have you got any idea about how it is? :roll:

__________________

Thanks!

Share this post


Link to post

Try with this (server side):

addEventHandler("onResourceStart",resourceRoot, 
function () 
    for index, vehicle in pairs(getElementsByType("vehicle")) do 
        setVehicleFuelTankExplodable(vehicle, true) 
    end 
end) 

Share this post


Link to post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.