🔔 Simplified Notification - Features

  • Modern and sleek interface

  • Fully Optimized

  • Custom Pop-Up notification sounds

  • Multi-Positions that can be configured to your servers preference

  • Custom Tags to brand your server

  • Completely free and open source resource

⚙️ Installation Instructions

  1. Download xs_Notify via keymaster

  2. Extract the resource from the .zip folder

  3. Drag & Drop the file into your resources folder

  4. Add this code to your server.cfg ensure xs-notify


How To & Example Usage


Client Side - Example Usage ⬇️

// TriggerEvent("xs:notify", "It works!", "This notify works!", 5000, 0, 3, 'server')

Server Side - Example Usage ⬇️

// TriggerClientEvent("xs:notify", -1, "It works!", "This notify works!", 5000, 0, 3, 'server')

// # XS Notify Usage Guide

`xs:notify` is an event to display notifications in your FiveM server. Depending on where you trigger it, you can use it client-side or server-side.

## Client-Side Notifications

To trigger a notification on the client-side:

```lua
TriggerEvent("xs:notify", title, content, timeout, type, position, tag)
```

### Client-Side Example:
```lua
TriggerEvent("xs:notify", "It works!", "This notify works!", 5000, 0, 3, 'server')
```

## Server-Side Notifications

To send a notification from the server to all connected clients:

```lua
TriggerClientEvent("xs:notify", -1, title, content, timeout, type, position, tag)
```

### Server-Side Example:
```lua
TriggerClientEvent("xs:notify", -1, "It works!", "This notify works!", 5000, 0, 3, 'server')
```

### Notification Types:
- `0` - Error
- `1` - Success
- `2` - Warning
- `3` - Information

### Position Types:
- `0` - Middle
- `1` - Bottom
- `2` - Left
- `3` - Right

### Tags
- `tags` - You can add any text as your tag

Last updated

Was this helpful?