> For the complete documentation index, see [llms.txt](https://shift-studios.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shift-studios.gitbook.io/docs/old-free/editor-17.md). Agents can also search and read this documentation through its [MCP server](https://shift-studios.gitbook.io/docs/~gitbook/mcp).

# Weapon Notify

Transform Your Server With Shift Studios — Powerful, Optimized, And Reliable Resources Built To Improve Every Experience.

<figure><img src="https://4062160621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fgqh3gjuJzDAWNXTD9sEE%2Fuploads%2F5iK4NJCDnKjzH7bYgLEP%2Fwnotify.png?alt=media&amp;token=49b2e011-afc0-4dbf-bca8-3a0171da412c" alt=""><figcaption></figcaption></figure>

### Installation

{% stepper %}
{% step %}

### Weapon Notify

Read Everything Below To Install
{% endstep %}

{% step %}

### Ensure All Dependencies Are Installed

No Dependencies Needed
{% endstep %}

{% step %}

### Drag & Drop

Drag & Drop The Resource Into Your FiveM Server
{% endstep %}

{% step %}

### Ensure The Resource

Make Sure To Ensure shift-wnotify In Your Server CFG.
{% endstep %}

{% step %}

### Configure The Resource

{% code expandable="true" %}

```lua
-- 💠 ███████╗██╗  ██╗██╗███████╗████████╗    ███████╗████████╗██╗   ██╗██████╗ ██╗ ██████╗ ███████╗ 💠
-- 🔷 ██╔════╝██║  ██║██║██╔════╝╚══██╔══╝    ██╔════╝╚══██╔══╝██║   ██║██╔══██╗██║██╔═══██╗██╔════╝ 🔷
-- 🌀 ███████╗███████║██║█████╗     ██║       ███████╗   ██║   ██║   ██║██║  ██║██║██║   ██║███████╗ 🌀
-- 🔹 ╚════██║██╔══██║██║██╔══╝     ██║       ╚════██║   ██║   ██║   ██║██║  ██║██║██║   ██║╚════██║ 🔹
-- 💎 ███████║██║  ██║██║██║        ██║       ███████║   ██║   ╚██████╔╝██████╔╝██║╚██████╔╝███████║ 💎
-- 🔵 ╚══════╝╚═╝  ╚═╝╚═╝╚═╝        ╚═╝       ╚══════╝   ╚═╝    ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝ 🔵

Config = {}

-- Notification system options:
-- auto, ox_lib, qbx, qbcore, esx, okok, wasabi, brutal, mythic,
-- codem, sd_notify, custom, native
Config.NotificationSystem = 'ox_lib'

-- Auto mode checks these notification systems from top to bottom.
-- Reorder this list if you want a different notification resource preferred.
Config.NotificationAutoPriority = {
    'okok',
    'wasabi',
    'brutal',
    'codem',
    'sd_notify',
    'mythic',
    'ox_lib',
    'qbx',
    'qbcore',
    'esx'
}

-- Used by notification systems that support these options.
Config.NotificationSettings = {
    position = 'center-left',
    sound = false,
    fallbackToNative = true
}

Config.Notifications = {
    WeaponOut = {
        title = 'Weapon',
        description = 'You Pulled Out Your Weapon',
        type = 'inform',
        duration = 3000
    },
    WeaponAway = {
        title = 'Weapon',
        description = 'You Put Your Weapon Away',
        type = 'inform',
        duration = 3000
    }
}

-- Use this when your notification resource is not listed above.
-- Set Config.NotificationSystem = 'custom' and replace the example below.
-- Return true when the notification was successfully handled.
Config.CustomNotification = function(data)
    -- Example:
    -- exports['your-notify']:Notify(data.title, data.description, data.type, data.duration)
    -- return true

    return false
end

```

{% endcode %}
{% endstep %}

{% step %}

### Restart / Start Your Server

Ensure Everything Is Working Well & Enjoy !!
{% endstep %}
{% endstepper %}
