Skip to content

Aidan4444/flashBadge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License Discord Shield


flashBadge

A FiveM Standalone script that allows you to flash your badge.
Report Bug · Request Feature

Table of Contents
  1. Features
  2. Showcase
  3. Example Config
  4. Installation
  5. Roadmap
  6. Contributing
  7. Contact

Features

  • Animation with prop
  • Ability to either use a command, keybind, or both
  • Each client can customize their keybind
  • Fully customizable
  • Supports ESX

Showcase

Showcase Video

flashBadgeKeybind|690x32

Example Config

config = {
    useESX = false, -- If you are using this script for an ESX server set this to true, if not leave it at false
    ESXJobs = { -- Add your law enforcement jobs for ESX
        'police',
        'swat',
        'fbi',
    },

    acePermissionName = 'flashBadge', -- Example for config: add_ace group.leo "flashBadge" allow

    useCommand = true, -- If enabled will allow you to do a command (specified in commandName) to flash your badge
    commandName = 'badge', -- The name of the command used to flash your badge
    commandSuggestion = true, -- Puts suggestion in chat for the command
    commandErrorMessage = 'You are not a law enforcement officer!', -- Message to show to people who try to do the command but don't have the permissions

    useKeybind = true, -- If enabled will allow you to use a keybind to flash your badge (keybind is customizable in the GTA V keybinds setting menu)
    keybind = 'g', -- Starting keybind (each client can customize their own keybind in the GTA V keybinds menu)

    propName = 'prop_fib_badge', -- The name of the badge prop
}

Installation

  1. Download the latest release
  2. Rename the resource to just "flashBadge"
  3. Configure the config.lua file
  4. Add to your server.cfg ensure flashBadge

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Contact

Discord - Aidan_ogg#0001

FiveM Forums - Aidan_ogg

FiveM Post - Flash Badge

Discord Banner

About

A standalone script for FiveM that allows you to flash your badge. It is also fully customizable.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages