Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard
Status
Not open for further replies.

curzyy

Designer
Joined
May 7, 2022
Messages
316
Reaction score
1,342
Points
306
Location
Texas
Website
discord.gg




Customize how long the notification will appear.
Customize the colors/icons of the notifications.
Change the title/text & tag of the notification.
Change the position of the notification (Top, Bottom, Left, Right)​

View attachment 17937View attachment 17938View attachment 17939View attachment 17940

We will be adding many more features to our Notify script in the future including a color wheel that allow players to customize colors. We will be also adding a feature that allows players to customize the exact location of their notification.

Configuration / Read Me
JavaScript:
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
 
Status
Not open for further replies.
Top