Configuration
Explore and fine-tune your settings effortlessly. Customize your script experience according to your preferences
Configuration File
Config = {}
Config.Debug = false -- Use only for testing purpose
Config.UseBaseEvents = false -- If you have base events improve performance
--Config.CustomBaseEvent = true --If you have custom base events in you server ( need UseBaseEvents = true )
Config.ExplosionHeight = 20 -- Minimum height at which the vehicle will explode after jumping
Config.UseArmor = true -- If the vehicle has armor installed, it will be protected from explosion (false always explode)
-- When UseArmor = true
Config.ArmorChance = {
-- 80 = 80% to protect, 20% chance to explode ( need UseArmor = true )
-- Armor has 5 level
[1] = 20,
[2] = 40,
[3] = 60,
[4] = 80,
[5] = 100,
}
Config.ArmorChanceDecrease = 1 -- 1 = reduce 1% of ArmorChance by each 1% of ExplosionHeight, 2 = -1% by each 2% of ExplosionHeight
--[[
Vehicle Classes:
0: Compacts 1: Sedans 2: SUVs 3: Coupes 4: Muscle 5: Sports Classics
6: Sports 7: Super 8: Motorcycles 9: Off-road 10: Industrial 11: Utility
12: Vans 13: Cycles 14: Boats 15: Helicopters 16: Planes 17: Service
18: Emergency 19: Military 20: Commercial 21: Trains
--]]
Config.DefaultArmorClass = { -- add default armor to a vehicle class
[9] = 80,
}
Config.DefaultArmorVehicle = { -- add default armor to a vehicle
['riata'] = 200,
['baller5'] = 200,
}
Config.IgnoreVehicleClass = {8, 13, 15, 16} -- disable the script for this vehicle class
Config.IgnoreVehicle = {'kamacho', 'trophytruck'} -- disable the script for this vehicles
-- LVS Accident compatibility:
-- If you have "lvs_accident" when you land safely, you can configure to trigger accident effects to players in the vehicle
Config.UseAccident = true -- use lvs-accident
Config.AccidentLevel = 3 -- accident level
Last updated