1
0
Fork 0
forked from Simnation/Main

Update config.lua

This commit is contained in:
Nordi98 2025-07-02 17:39:41 +02:00
parent 1841025156
commit 517edc5a8f

View file

@ -4,7 +4,7 @@ Config = {}
Config.Debug = false Config.Debug = false
Config.Core = "ESX" -- "ESX" / "QB-Core" Config.Core = "QB-Core" -- "ESX" / "QB-Core"
if Config.Core == "ESX" then if Config.Core == "ESX" then
ESX = exports['es_extended']:getSharedObject() ESX = exports['es_extended']:getSharedObject()
@ -39,12 +39,12 @@ Config.PlacingAnimation = {'anim@mp_fireworks', 'place_firework_3_box'} -- Anima
Config.DisableMultiplyFireworks = false -- if you set it true, the player will be able to place one firework, the next one only after he finishes shooting Config.DisableMultiplyFireworks = false -- if you set it true, the player will be able to place one firework, the next one only after he finishes shooting
Config.NeedLighter = true Config.NeedLighter = true
Config.LighterItem = 'bread' Config.LighterItem = 'lighter'
Config.Fireworks = { Config.Fireworks = {
[1] = { [1] = {
item = 'firework_1', -- name or nil item = 'firework1', -- name or nil
itemRemovable = true, -- if it is on the item, is it to be removed after use itemRemovable = true, -- if it is on the item, is it to be removed after use
command = 'fire_1', -- name of command or nil command = 'fire_1', -- name of command or nil
shoots = 50, -- count of shots shoots = 50, -- count of shots
@ -58,7 +58,7 @@ Config.Fireworks = {
}, },
}, },
[2] = { [2] = {
item = 'firework_2', item = 'firework2',
itemRemovable = true, itemRemovable = true,
command = 'fire_2', command = 'fire_2',
shoots = 80, shoots = 80,
@ -72,7 +72,7 @@ Config.Fireworks = {
}, },
}, },
[3] = { [3] = {
item = 'firework_3', item = 'firework3',
itemRemovable = true, itemRemovable = true,
command = 'fire_3', command = 'fire_3',
shoots = 80, shoots = 80,
@ -87,7 +87,7 @@ Config.Fireworks = {
}, },
}, },
[4] = { [4] = {
item = 'firework_4', item = 'firework4',
itemRemovable = true, itemRemovable = true,
command = 'fire_4', command = 'fire_4',
shoots = 50, shoots = 50,