Fivem notifications system using Mantine framework and ReactIcons.

Preview Notification

Installation

Arguments

id = String, id of the notification, you can use it to update/remove it – Not required
title = String, title of the notification – Not required
message = String, message you want to show up – Not required if you provide a title
radius = String, radius of the notification – Not required / Types ‘xs’ | ‘sm’ | ‘md’ | ‘lg’ | ‘xl’
color = String, Color of the notification – Not required / if you put a type this will be ignored
loading = Boolean, show a loading animation – Not required
type = String, type of the notification – Not required / Types ‘info’ | ‘success’ | ‘warning’ | ‘error’

Use

Default:

TriggerEvent('int_notifications:add', {
    type,
    title,
    message
})

Server

TriggerClientEvent('int_notifications:add', source, {
    type,
    title,
    message
})

Contributing

Pull requests are welcome.

License

MIT



Looking for paid scripts? Click here