RX Scripts Logo
Notify

Events

All client- & serversided events included within this script. Events serve as listeners that capture and respond to actions executed by this script.
If additional events are required for your implementation, please submit a formal request through our ticketing system on the official Discord server.

Client Events

RxNotify:Notify

Triggers a notification from server-side or other resources.

TriggerClientEvent('RxNotify:Notify', source, title, text, type, length, options)
source
number required

Server player ID to send the notification to.

title
string

Title of the notification.

text
string

Message text to display.

type
'success' | 'error' | 'info' | 'warn'

Type of notification.

length
number

Duration in milliseconds.

options
table

Optional settings table (confetti, position).

Example

server.lua
// From server-side
TriggerClientEvent('RxNotify:Notify', source, "Server Message", "You received a reward!", "success", 5000)

// With options
TriggerClientEvent('RxNotify:Notify', source, "Level Up!", "Congratulations!", "success", 5000, {
    confetti = true,
    position = 'tc'
})

Server Events

No server-sided events available at this time.