LV Soft FiveM
  • LV SOFT
    • 👋Welcome!
    • 🛒Tebex
    • 💬Discord
  • QB/ESX
    • ☮️lvs-loading
      • Installation
      • Configuration
    • 👫lvs-multichar
      • Installation
      • Configuration
      • Adding Scenes
      • Tebex Integration
      • Commands
    • 🗺️lvs-spawnselector
      • Installation
      • Configuration
    • 🥼lvs-clothing
      • Installation
        • QBCore Install
        • ESX Install
      • Configuration
      • Migration
        • qb-clothing
        • esx-skinchanger
        • Illenium-Appareance
      • Blacklisting
      • Events
      • Commands
    • ⚙️lvs-lib
      • black-screen loading
      • notifications
      • progressbar
      • key-interaction
      • textui
      • alert
      • context menu
      • context input
    • 💬lvs-chat
      • Installation
      • Configuration
      • Events & Exports
    • 📱lvs-radio
      • Installation
      • Configuration
      • Events & Exports
    • 🗃️lvs-playerlist
      • Installation
      • Configuration
    • 📹lvs_weazelnews
      • Installation
      • Configuration
    • 🎒lvs-inventory
      • Installation
      • Configuration
      • lvs-inventory
        • exports
      • lvs-shops
        • Configuration
        • Exports
      • lvs-crafting
    • 🪪lvs-idmanager
      • Installation
      • Configuration
      • Exports
  • Standalone
    • 🚘lvs-drift
      • Installation
      • Configuration
      • Commands
    • 🕺lvs-animations
      • Installation
      • Configuration
      • Adding Animations
      • Exports/Events
    • 💥lvs-accident
      • Installation
      • Configuration
    • 🔥lvs-explosion
      • Installation
      • Configuration
    • 🏎️lvs-racing
  • ESX
    • 📅Soon
Powered by GitBook
On this page
  1. Standalone
  2. lvs-explosion

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
PreviousInstallationNextlvs-racing

Last updated 1 year ago

🔥