Skip to content

a FiveM gas mask script with a Discord role permission system.

License

Notifications You must be signed in to change notification settings

JellyJamm/fivemgasmask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FiveM Gask Mask Script v2.5

a FiveM gas mask script using the ACE permission system.

Description

By wearing a gasmask (configurable in the config) you become immune to tear gas.

Commands

/gasmask on - puts on

/gasmask off - takes off

/gasmask - toggles

Images

Equipped

Unequipped

Videos

https://i.gyazo.com/74d939211e350472aeac709fb4e5feb5.mp4

https://i.gyazo.com/03e2d847fcadf741a61db0f5d4dd0a60.mp4

Installation

  • 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.

Improvements in v2.5

  • 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

Improvements in v2

  • 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

Recommended Script

https://docs.badger.store/fivem-discord-scripts/discordaceperms

Ties Ace Perms to Roles in a Discord Server

Contributions

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

GNU GPL 3.0

About

a FiveM gas mask script with a Discord role permission system.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages