Fires (ESX/QB)
15.00 USD
Description
This script adds the ability to use lighters to start fires on your ESX or QBCore server! Simply provide players with a way of obtaining a lighter item (add it to a shop, for example). Players can then use their lighter to start a fire in front of them, following an optional animation and progress bar. These fires are not just an effect and do cause damage to players and objects (such as vehicles), as a fire should. Customize features in the config file, such as the name of the lighter item, command for admins to stop nearby fires, timing to light fires, etc.
The script will automatically detect use of qb-core and es_extended, so you don't need to do anything to set your framework. Useable items and admin commands will be generated using QBCore or ESX functions, based on which framework it detects. Only if you have customized the names of these frameworks, will you need to change their setting in the config file.
This script is delivered via FiveM Asset Escrow
All updates will be available at your FiveM Keymaster
Install
- Upload the script to your server's "resources" folder (or any [sub_directory])
- Configure settings to your needs in config.lua
- Ensure the script is starting in your server.cfg
- Add the lighter item to your items table (ESX ONLY! QBCore comes with a lighter already!)
Usage
- Use the lighter item to start a fire.
- Admins (or all players based on a config setting) can use a command to stop all nearby fires. By default, the command is /firestop
