Benevolence Posted September 14, 2011 Share Posted September 14, 2011 Alright I got help from Solidsnake and another thread (but they didn't specifically say how to fix it in the thread) to fix it so here's how to do it. If you use the valhalla RP scripts, it will be in vehicle-system resource then s_vehicle_system.lua Then find function checkWaterVehicles() for key, value in ipairs(exports.pool:getPoolElementsByType("vehicle")) do if (isElementInWater(value) and not isVehicleBlown(value) and getVehicleType" class="kw2">getVehicleType" class="kw2">getVehicleType" class="kw2">getVehicleType" class="kw2">getVehicleType" class="kw2">getVehicleType(value)~="Boat") then blowVehicle(value) end end end setTimer(checkWaterVehicles, 600000, 0) This needs to be removed/commented. I would prefer commenting it, so just add -- in the same line next to setTimer so --setTimer and then it will be commented and the function won't be triggered so the vehicles won't blow up. Example --setTimer(checkWaterVehicles, 600000, 0) Cheers 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