This fire department package by Toxic Scripts adds a working fire hose and a dynamic fire script to FiveM. It runs standalone, with ESX or with QBUS, depending on the config settings.
Fire hose features
- Works on both fire trucks and fire hydrants, with a visible hose
- Water spray controlled by the player and synced
- Water cannon that interacts with the world (pushes vehicles and NPCs) and puts out fire
- Fire trucks have a limited water supply (consumption rate configurable); connect a hydrant to a truck with a hose for unlimited supply
- Synced water supply sharing: truck to truck and hydrant to truck
- Several people can connect to the same truck or hydrant
- Changeable hose length; the hose breaks and the hydrant bursts if stretched too far (can be disabled)
- Hydrants can be used as water cannons (can be disabled)
- Foam gun and pressurized water gun; switch with the middle mouse button and adjust pressure with the left and right arrow keys (keys changeable)
- Pressurized water and foam put out fires, including world fires such as Molotovs
- Water supply HUD (vanilla or new HUD, colour, height and position configurable)
- Per-truck settings: attach offsets, 3D text offset, supply capacity, supply sharing and which weapons each truck has
- Messages as 3D text, notification or subtitle; locales; hose placing and taking sounds
- ESX and QBUS use a job whitelist (
firefighter by default); standalone uses an identifier whitelist
- OneSync compatible
Fire script features
- Whitelisted commands:
startfire, stopfire, stopallfires, setfireaop, enablerandomfires
- Discord webhook logs (can be disabled)
- Supports standalone, ESX and QBUS, and can be edited to Support any framework
- Fire warnings with map ping, blips and chat messages (editable and can be disabled)
- Fire types normal, normal2, chemical, electrical and bonfire, and you can add more; each with its own particles, scale, lifetime and smoke
- AOP-based random fires with as many locations as you need, each with position, flames, spread, fire type and timeout
- Fire start and fire end events on client and server for integrations
- Works with vanilla water such as plane and helicopter water, fire truck water and fire extinguishers
What's included
firehose – the fire hose script
firehosemodels – hose weapon model (WEAPON_FIREHOSE) and a fire truck model
firescript – the fire script
discordwebhooks – webhook helper for the fire script logs
Installation
- For the hose only, ensure
firehose and firehosemodels. Add firescript for the fire script and discordwebhooks for its logs.
- Add your fire trucks in
firehose/settings/trucks.ini and choose ESX, QBUS or standalone in the config.lua files.
- If you use SmartFires instead of the included fire script, set
usingHoseLS to true and change the water weapon model to weapon_firehose.
- Add
WEAPON_FIREHOSE to your anticheat whitelist if you use one.