Badger Docs
  • Welcome to Badger Docs
  • Badger's Website
  • Badger's Discord
  • 20% off hosting | Use Code: TheWolfBadger-4765
  • Fivem General Help
    • Updating Server Binaries
    • ACE Permissions
    • Getting Discord Role IDs
    • Setting up a Discord Webhook
    • Discord identifier not found
    • How to set up a Git Repository for my server
  • Fivem Discord Scripts
    • Introduction
    • BadgerTools
    • DiscordChatRoles
    • DiscordAcePerms
    • DiscordPedPerms
    • DiscordWeaponPerms
    • DiscordVehiclesRestrict
    • DiscordTagIDs
    • PoliceEMSActivity
    • BadgerCopChat
    • DiscordDonatorPerks
    • Badger-911
    • Bad-Scoreboard
    • Bad-DiscordQueue
    • Badger_Discord_API
      • Installation
      • GetRoleIdFromRoleName
      • CheckEqual
      • IsDiscordEmailVerified
      • GetDiscordEmail
      • GetDiscordName
      • GetDiscordAvatar
      • GetDiscordNickname
      • GetDiscordRoles
      • GetGuildIcon
      • GetGuildSplash
      • GetGuildName
      • GetGuildDescription
      • GetGuildMemberCount
      • GetGuildOnlineMemberCount
      • GetGuildRoleList
    • DiscordVehicleRestrictions
  • Fivem Misc. Scripts
    • Introduction
    • BadgerAnims
    • BadgerBankRobbery
    • VehicleTrustSystem
    • PedTrustSystem
    • BadgerVoting
    • BadgerTracer
    • Fivem Keybase Anticheat
    • DiscordReports
    • Badger-Priorities
    • Badssentials
    • BadgerStockMarket
    • Badger-Anticheat
    • Badger_Jailing
    • BadgerFires
    • Multiverse-World-Manager
  • Badger Software
    • Introduction
    • FivemDiscordPerms
    • BadgerTrustSystem+
    • BadgerStaffPanel
    • ResourceEventScrambler
    • CollectiveBot
  • Archived Projects
  • SimpleRoleBot
  • EssentialBot
Powered by GitBook
On this page
  • BadgerFires
  • Badger's Discord Community
  • What is it?
  • All I ask
  • Commands
  • Images
  • Configuration
  • Credits
  • Download

Was this helpful?

  1. Fivem Misc. Scripts

BadgerFires

PreviousBadger_JailingNextMultiverse-World-Manager

Last updated 4 years ago

Was this helpful?

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.

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

Config = {
    MaxSize = 5,
    MaxDensity = 5,
    MaxFlameScale = 5,
    Concurrent = 1,
    AnyoneCanUse = true, -- Anyone can use it? -- THIS WILL DISABLE PERMISSIONS
}


-- ONLY ACTIVE IF `AnyoneCanUse` is set to false
Config.Permissions = { -- ACE PERMISSIONS
    ['BadgerFires.Start.15'] = {
        MaxSize = 15,
        MaxDensity = 15,
        MaxFlameScale = 15,
        Concurrent = 3,
    },
    ['BadgerFires.Start.30'] = {
        MaxSize = 30,
        MaxDensity = 30,
        MaxFlameScale = 30,
        Concurrent = 5,
    },
}

This should be pretty self explanatory...

Credits

Lucas Decker (lucas.d.200501@gmail.com)

Dylan Thuillier (itokoyamato@hotmail.fr)

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

Developer Discord
LogoJaredScar - OverviewGitHub
LogoGitHub - JaredScar/BadgerFires: A FiveM Fire ScriptGitHub