> For the complete documentation index, see [llms.txt](https://fivezone.gitbook.io/fivezone-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fivezone.gitbook.io/fivezone-docs/paid-products/script-advanced-notify.md).

# \[SCRIPT] ADVANCED NOTIFY

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

### INFORMATIONS

**FiveZone Advanced Notify** is a feature-rich, standalone UI replacement designed for clarity and style. It features a sleek "Glassmorphism" design with real-time background blur and dynamic neon glow effects that automatically match your notification colors.

***

### FEATURES 🚀

Our notification system is built with performance and aesthetics in mind:

* **Layered Stacking**: Notifications intelligently stack on top of each other without overlapping.
* **Neon Glow & Glassmorphism**: High-end visuals featuring a "Frosted Glass" (blur) effect and dynamic neon glow based on notification type.
* **Persistent Notifications**: Support for "Sticky" alerts (e.g., Admin messages) that stay on screen until manually closed via a close button (timeout = 0).
* **Error Shake Effect**: Specific "Shake" animation to grab attention during error alerts.
* **Multi-Position Support**: Easily switch between `top-right`, `top-left`, `bottom-right`, and `bottom-left`.
* **FontAwesome 6 Integration**: Full support for thousands of modern icons.
* **Server & Client Side**: Fully bridged to work seamlessly from any script on your server.
* **Custom Sounds**: Dynamic sound loading based on the notification title.
* **Animated Icon**: When notify pop, icon will make slight animation
* **Support for HTML messages**: Make text bold, colored or other
* **Loading bar**: Custom loading bar to see how long the notify lasts

***

### INSTALLATION 🛠️

1. **Download** the folder and place it into your `resources` directory.
2. Ensure the folder is named **`Notify_fvz`**.
3. Add `ensure Notify_fvz` to your **`server.cfg`**.
4. Add your custom `.mp3` files to `ui/sounds/` and ensure they are listed in `fxmanifest.lua`.

***

### CONFIGURATION ⚙️

| Parameter  | Description                                                        |
| ---------- | ------------------------------------------------------------------ |
| `position` | Choose where notifications appear (`top-right`, `top-left`, etc.). |
| `sound`    | Enable/Disable audio and set global volume.                        |
| `presets`  | Define global styles for `Success`, `Error`, `Info`, etc..         |
| `defaults` | Fallback settings if no specific data is provided.                 |

***

### HOW TU USE (API) 📖

#### **Client-Side Usage**

Use these for local scripts (e.g., job interactions, menus).

```lua
-- Standard notification
exports['Notify_fvz']:Notify('Title', 'Your message here', { icon = '✅', color = '#00ff88', timeout = 5000 })

-- Preset shortcuts
exports['Notify_fvz']:NotifySuccess('Operation completed!')
exports['Notify_fvz']:NotifyError('You do not have enough money!')
```

#### **Server-Side Usage**

Perfect for Paychecks, Admin logs, or Global announcements.

```lua
-- Notify a specific player (ID)
exports['Notify_fvz']:NotifyPlayer(source, 'BANK', 'You received $500', { color = '#00ff88' })

-- Notify everyone on the server
exports['Notify_fvz']:NotifyAll('SERVER', 'Restart in 5 minutes!', { color = '#ff3333' })
```

#### **Admin (Persistent) Notifications**

These stay on screen until the user clicks the X button.

```lua
exports['Notify_fvz']:Notify('ADMIN', 'Please come to Support!', { timeout = 0, color = '#ff0000' })
```

Note: Use the /mouse command (defined in client.lua) to enable the cursor and close the notification.

***

### STYLING 🎨

You can further tweak the look in `ui/style.css`:

* **Transparency**: Adjust the `rgba` value of `--bg-color`.
* **Blur**: Change the `backdrop-filter: blur(8px)` value for more or less "Glass" effect.

***

### LINKS

{% embed url="<https://mip1z9gf9.fragmentor.site/>" %}

{% embed url="<https://discord.gg/exBk69qgWZ>" %}
