A FiveM Standalone script that allows you to flash your badge.
Report Bug
·
Request Feature
Table of Contents
- Animation with prop
- Ability to either use a command, keybind, or both
- Each client can customize their keybind
- Fully customizable
config = {
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
}
- Download the latest release
- Rename the resource to just "flashBadge"
- Configure the config.lua file
- Add to your server.cfg
ensure flashBadge
See the open issues for a list of proposed features (and known issues).
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.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Discord - Aidan_ogg#0001
FiveM Forums - Aidan_ogg
FiveM Post - Flash Badge