a FiveM gas mask script using the ACE permission system.
By wearing a gasmask (configurable in the config) you become immune to tear gas.
/gasmask on
- puts on
/gasmask off
- takes off
/gasmask
- toggles
https://i.gyazo.com/74d939211e350472aeac709fb4e5feb5.mp4
https://i.gyazo.com/03e2d847fcadf741a61db0f5d4dd0a60.mp4
- Assign the ace perm
perms.gasmask
to a specific group or steam identifier. Find more info on this here - Drop the fivemgasmask-master folder in your resources directory
- Open the
config.lua
file in fivemgasmask-master and set things to your liking - Add
start fivemgasmask-master
to your server.cfg - Restart server
IMPORTANT NOTE: This script uses ace permissions. You MUST assign a group or steam identifier the perms.gasmask
permission in order for this to work.
- Using ace_perms now. (Find older versions here)
- Inputting a command is no longer required. If you are wearing the config mask, the script activates.
- Optional hud display
- Added config
- If using a ped, equips an actual gas mask (configurable in the config.lua)
- Given the option to toggle the gasmask opposed to using on and off
https://docs.badger.store/fivem-discord-scripts/discordaceperms
Ties Ace Perms to Roles in a Discord Server
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.