Basic Understanding of FiveM server setup and resource management.
How to Refuel Flamethrower
Head to a Gas Station and fuel from one of the pumps there. When near a gas pump simply use the command /refuel this will add fuel to the flamethrower as its own ammo.
Allows for integration with fire scripts in OnFireStart Function
Config = {}
Config.HeatDistance = 10 -- The range that the heat will reach
Config.BurningTime = 20 -- The time in seconds before the fire extinguishes
Config.FlameSize = 3 -- The size of the flames - [[ HANDLE WITH CARE! ️🔥]] - Default: 3
Config.RefuelModels = {
--[[ `prop_gascyl_02a`,
`prop_gascyl_02b`, ]] -- Gas Canisters (should maybe delete after use? ( See DeleteModelOnRefuel))
`prop_gas_pump_1a`, -- Gas Pumps (shouldnt delete after use)
`prop_gas_pump_1c`,
`prop_gas_pump_1b`,
`prop_gas_pump_1d`,
`prop_gas_pump_old2`,
`prop_vintage_pump`,
`prop_gas_pump_old3`,
}
Config.DeleteModelOnRefuel = false -- Whether to delete the refuel model after refueling
Config.AddFuelAmount = 50 -- The amount of fuel (per canister) to add when refueling
Config.MaxFuel = 250 -- The maximum amount of fuel the flamethrower can hold
Config.FuelUI = {
enabled = true,
size = 'small', -- 'small', 'medium', 'large'
position = 'top-center', -- 'top-left', 'top-right', 'bottom-left', 'bottom-right', 'top-center', 'bottom-center'
}
-- Custom OnFireStart function
OnFireStart = function(coords, netID)
-- Add your custom logic here
end