Configuration
The configuration file (named config.lua) allows you to modify all the different parameters taken into account within our script. In case of problems with the scripts, first check that you have correctly edited this document
Content of the configuration file by default
CONFIG_DELETE_GUN = {
-- ace | custom
-- If you're using the ACE permissions system, you must to give by default the permission madonne.deletegun .
-- You can edit this permission in the customs.lua file.
FRAMEWORK = "esx", -- esx | none
INVENTORY = "ox", -- ox | none <- ONLY IF FRAMEWORK IS NOT NONE
PERMISSION_SYSTEM = "ace",
WEAPON_TO_USE = "WEAPON_RAYCARBINE",
AUTOMATICALLY_GIVE_WEAPON = true,
NOTIFICATION_TEXT = "Entity deleted !",
-- notification | chat | other
NOTIFICATION_TYPE = "notification",
notifChatColor = {255,255,255},
}
Main Delete Gun Configuration
Select if you use ESX and potentially OX Inventory or not.
FRAMEWORK = "esx", -- esx | none
INVENTORY = "ox", -- ox | none <- ONLY IF FRAMEWORK IS NOT NONE
Configure which permission must be used to give access to the delete gun.
-- ace | custom
-- If you're using the ACE permissions system, you must to give by default the permission madonne.deletegun .
-- You can edit this permission in the customs.lua file.
PERMISSION_SYSTEM = "ace",
Select which weapon must be used as Delete Gun, and if you want this wepaon to be given automatically to players able to use it.
WEAPON_TO_USE = "WEAPON_RAYCARBINE",
AUTOMATICALLY_GIVE_WEAPON = true,
Whether or not to show a notification above the map when an entity is deleted with the delete gun.
NOTIFICATION_TEXT = "Entity deleted !",
-- notification | chat | other
NOTIFICATION_TYPE = "notification",
notifChatColor = {255,255,255},
Last updated