> For the complete documentation index, see [llms.txt](https://arctic-development.gitbook.io/arctic-development/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://arctic-development.gitbook.io/arctic-development/scripts/debug-weapon.md).

# Debug Weapon

The **Debug Weapon Script** for FiveM is the one-stop solution for managing the identification of unknown spawned objects!

<figure><img src="/files/SpMscVNMZqsjkgvXax7q" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/FLTT4KVFxb6AXHt2ckLm" alt=""><figcaption><p>If the user does not have access</p></figcaption></figure>

<figure><img src="/files/nNgXAuWmJ2pAfCHGntFB" alt=""><figcaption><p>Toggle Debug Weapon</p></figcaption></figure>

<figure><img src="/files/9akrnmBzy7XpmprT5TEs" alt=""><figcaption><p>Custom UI</p></figcaption></figure>

<figure><img src="/files/l2kx3v7UeII09B5lIKCw" alt=""><figcaption><p>Basic UI</p></figcaption></figure>

```lua
Config = {
-----------------------------------------------------------------------------------------------------
-- Permission Configuration
----------------------------------------------------------------------------------------------------- 
DiscordRoleID = { '' }, -- List of Discord Role IDs that have access to the debug weapon
-----------------------------------------------------------------------------------------------------
-- UI Type Configuration
----------------------------------------------------------------------------------------------------- 
UIType = 'Advanced', -- Options: Advanced, Basic
-----------------------------------------------------------------------------------------------------
-- Notification Configurations
-----------------------------------------------------------------------------------------------------
NotifyType = 'Ox_lib', -- Options: VeniceNotify, OkOkNotify, Ox_lib, Chat, GTA
notifyTime = 5000, -- Default notification time in milliseconds
}

return Config
```

{% hint style="success" %}
Downloads

\[PAID | Open Source] [Official Store Link](https://arcticdevlabs.com/package/script?script=Debug-Weapon)
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://arctic-development.gitbook.io/arctic-development/scripts/debug-weapon.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
