Badger Docs
Search…
BadgerFires

BadgerFires

Badger's Discord Community

What is it?

I always see people asking for Fire scripts. The ones people usually use have tons of bugs and/or are broken, so I decided to create one that actually worked well with a lot of nice features to it. Hopefully you all can find some use out of it.

All I ask

I make plenty of resources for these forums free of charge all for everyone's convenience. As a recently graduated college student I will be looking for a job soon, so having a following on GitHub really looks good to recruiters. In return for my efforts that benefit this community, I hope you all can pay it forward by giving me a follow on my GitHub, that's all. Thanks.
JaredScar - Overview
GitHub

Commands

/fire start <inFrontDistance> <size> <density> <flameScale> - Starts a fire
/fire preview <inFrontDistance> <size> <density> <flameScale> - Previews a fire's size
/fire stop <ID> - Stops a fire based off it's ID
/fire stopall - Requires the BadgerFires.StopAll permission node
/fires - Lists all your started fires with their fire IDs

Images

Command Usage Example

Fire Preview

Fire Start

The /fires command

Turning off preview mode

Stopping the fire

Configuration

1
Config = {
2
MaxSize = 5,
3
MaxDensity = 5,
4
MaxFlameScale = 5,
5
Concurrent = 1,
6
AnyoneCanUse = true, -- Anyone can use it? -- THIS WILL DISABLE PERMISSIONS
7
}
8
9
10
-- ONLY ACTIVE IF `AnyoneCanUse` is set to false
11
Config.Permissions = { -- ACE PERMISSIONS
12
['BadgerFires.Start.15'] = {
13
MaxSize = 15,
14
MaxDensity = 15,
15
MaxFlameScale = 15,
16
Concurrent = 3,
17
},
18
['BadgerFires.Start.30'] = {
19
MaxSize = 30,
20
MaxDensity = 30,
21
MaxFlameScale = 30,
22
Concurrent = 5,
23
},
24
}
Copied!
This should be pretty self explanatory...

Credits

Lucas Decker ([email protected])

Dylan Thuillier ([email protected])

Thank you to these 2 individuals for the base code I based this resource off of. Despite it not being very well-documented, the code was well-written and I made it up to date with FiveM standards.

Download

GitHub - JaredScar/BadgerFires: A FiveM Fire Script
GitHub
Last modified 9mo ago