Skip to content

Notification system for fivem with java script

Notifications You must be signed in to change notification settings

Xeltax/Xel_Notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xel_Notify

forthebadge

This script is a integration of the simple-notif framework for js

Features

4 type of notification : success, error, info, warning

3 different theme : 1,2,3

2 type of animation : fade, slide

Cooldown with progressbar

more features in the client.lua

Screenshot

You can choose between these 3 themes

proof

proof

proof

How to Use

To use the notification (Client-Side) :

exports['Xel_Notify']:sendNotify(type, title, msg)

Example :

exports['Xel_Notify']:sendNotify('success', 'Superette', 'Merci pour votre achat !')

To use the notification (Server-Side) :

TriggerClientEvent('Xel_Notif:Notif', source, type, title, msg)

Example :

TriggerClientEvent('Xel_Notif:Notif', xPlayer.source, 'success', "Superette", "Merci pour votre achat !")

Original Repository (not for FiveM)

https://github.com/simple-notify/simple-notify

Support

If you like my work don't forget to put a star :)

About

Notification system for fivem with java script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published