Skip to content

FiveM-Resources/GTA_Notif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GTA_NOTIF

Notification using html/css/js and lua.

Screen :

GTA_NOTIFICATION V1.2

GTA_NOTIFICATION V1.3

Information

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
        icon = "fab fa-angellist fa-2x", --> here is your icon for e.g i added a peace icon. zoomed x2.
        position = "row-reverse" --> here is your icon position between row/row-reverse.
    })

dont forgot to add the GTA_Notif into your server.cfg like :

ensure GTA_Notif

Features

You can select the type of your notification pop pup between :

  • error
  • warning
  • success

You can select the value of the icon position between :

  • "row"
  • "row reverse"

row = position right row-reverse = position left

Change the timer of the pop pup display in the js file. use the notification by event useful for server-side.

License :

@SuperCoolNinja

About

a simple notification using html/css/js and lua.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published