3bd8365ca5
+ Updated to latest server artifacts + Updated vMenu to the latest v3.6 + Replaced Discord Weapon restrictions with a better fork of the repository. + Restructured the server config, and updated the dlc build to the latest San Andreas Mercenaries dlc. + Attempted to fix missing radios in the wheel.
71 lines
1.6 KiB
Lua
71 lines
1.6 KiB
Lua
Config = {
|
|
WeaponRestrictedMessage = "~r~This Weapon is restricted",
|
|
ComponentRestrictedMessage = "~r~This Component is restricted",
|
|
InheritanceEnabled = false,
|
|
-- Set to true if you use the t-notify plugin for notifications.
|
|
usingTnotify = false,
|
|
-- How often the script checks for restricted weapons (in milliseconds)
|
|
updateTime = 2000,
|
|
-- Whether or not the script shows the name of the model being restricted. If true, it will append the weapon/component name to the end of the message.
|
|
showWeaponOrComponentName = true
|
|
}
|
|
|
|
--[[
|
|
Weapon components list: https://wiki.rage.mp/index.php?title=Weapons_Components
|
|
Weapon list: https://runtime.fivem.net/doc/natives/#_0xBF0FD6E56C964FCB
|
|
]]--
|
|
|
|
-- This Script uses the nicknames for roles listed in Badger_Discord_API.
|
|
Config.WeaponRestrictions = {
|
|
['EG | Helper'] = {
|
|
|
|
},
|
|
['EG | Staff'] = {
|
|
|
|
},
|
|
['EG | Sr. Staff'] = {
|
|
|
|
},
|
|
['EG | Moderator'] = {
|
|
|
|
},
|
|
['EG | Sr. Moderator'] = {
|
|
|
|
},
|
|
['EG | Admin'] = {
|
|
"WEAPON_PROXMINE",
|
|
"WEAPON_GRENADELAUNCHER",
|
|
"WEAPON_RPG",
|
|
"WEAPON_MINIGUN",
|
|
"WEAPON_FIREWORK",
|
|
"WEAPON_RAILGUN",
|
|
"WEAPON_HOMINGLAUNCHER",
|
|
"WEAPON_STICKYBOMB",
|
|
"WEAPON_COMPACTLAUNCHER",
|
|
"WEAPON_RAYPISTOL",
|
|
"WEAPON_RAYCARBINE",
|
|
"WEAPON_RAYMINIGUN",
|
|
"WEAPON_PIPEBOMB",
|
|
},
|
|
['EG | Sr. Admin'] = {
|
|
|
|
},
|
|
['EG | Head of Staff'] = {
|
|
|
|
},
|
|
['EG | Server Developer'] = {
|
|
|
|
},
|
|
['EG | Owner'] = {
|
|
|
|
},
|
|
}
|
|
|
|
-- Requires Config.InheritanceEnabled to be = true
|
|
Config.Inheritances = {
|
|
--['RoleName or ID'] = {'RoleName2', 'RoleName3', 'RoleName4'},
|
|
['RoleName1'] = {'RoleName2', 'RoleName3', 'RoleName4'},
|
|
['RoleName2'] = {'RoleName3', 'RoleName4'},
|
|
['RoleName3'] = {'RoleName4'},
|
|
['RoleName4'] = {}
|
|
} |