Notification using html/css/js and lua.
--------------||by Super.Cool.Ninja||--------------
you can copy the function and past it into your code.
exports.GTA_Notif:GTA_NUI_ShowNotification({
text = "Your Text, Hello World !",
type = "success" --> Your type between error/success/warning
})
dont forgot to add the GTA_Notif into your server.cfg like :
ensure GTA_Notif
- error
- warning
- success
Change the timer of the pop pup display in the js file. use the notification by event useful for server-side.
@SuperCoolNinja