Fires
Two In One: This script supports ESX & QBCore, with a single purchase.
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.
Installation
Upload the script to your server's "resources" folder (or any [sub_directory])
Configure settings to your needs in
config.luaEnsure the script is starting in your
server.cfgAdd 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;
Code is accessible
No
Subscription-based
No
Lines (approximately)
~200
Requirements
ESX or QBCore
Support
Yes
Last updated
