For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation

πŸ“‹ Requirements

Before installing Delete Gun, make sure you have the following:

  • A FiveM server running on artifact 2699 or above

  • (Optional) es_extended if using the ESX framework

  • (Optional) ox_inventory if using ESX + ox inventory

  • (Optional) MS_MadonnAdmin if using MadonnAdmin for permissions


⬇️ Step 1 β€” Download the resource

Download the latest version of MS_Delete_Gun from the CFX Portal, the official Cfx.re platform for downloading your purchased resources.

πŸ’‘ You must be logged in with the account used to purchase the resource.


πŸ“ Step 2 β€” Add to your server

Copy the MS_Delete_Gun folder into your server's resources directory.

your-server/
└── resources/
    └── MS_Delete_Gun/
        β”œβ”€β”€ config/
        β”œβ”€β”€ customs/
        β”œβ”€β”€ framework/
        β”œβ”€β”€ main/
        └── fxmanifest.lua

πŸ“ Step 3 β€” Add to server.cfg

Add the following line to your server.cfg, after any dependency resources (ESX, ox_inventory, MS_MadonnAdmin):

⚠️ Make sure MS_Delete_Gun is started after any framework or inventory resource it depends on.


βš™οΈ Step 4 β€” Configure the resource

Open config/main.lua and configure the resource to match your server setup.

Refer to the βš™οΈ Configuration page for a full breakdown of every option.


πŸ” Step 5 β€” Set up permissions

Depending on the permission system you chose, you will need to grant access to your staff members.

ACE Permissions (default)

Add the following to your server.cfg for each admin group or player you want to grant access to:

The permission name madonne.deletegun can be changed in customs/perms.lua.

MadonnAdmin

If MADONNADMIN is set to true or auto and MS_MadonnAdmin is running, permissions are handled automatically based on staff rank. No additional configuration needed.

Custom Permission System

Edit customs/perms.lua and implement your own logic inside the GetPerms function:


πŸ”„ Step 6 β€” Restart your server

Restart your server or run the following command in the console:

Your Delete Gun is now ready to use! βœ…

Last updated