irinel1996 Posted September 17, 2011 Share Posted September 17, 2011 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? __________________ Thanks! Link to comment
Castillo Posted September 17, 2011 Share Posted September 17, 2011 Try with this (server side): addEventHandler("onResourceStart",resourceRoot, function () for index, vehicle in pairs(getElementsByType("vehicle")) do setVehicleFuelTankExplodable(vehicle, true) end end) Link to comment
irinel1996 Posted September 17, 2011 Author Share Posted September 17, 2011 It works perfect. __________________ Thanks! Link to comment
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