Skip to content

Legacy notification manager for FiveM made by Paneedah for KCDOJRP.

License

Notifications You must be signed in to change notification settings

MTDOJRP/PanNotifications

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💬 PanNotifications

PanNotifications is a simple FiveM resource that sends notifications to players.

Only became a thing because I hate the default FiveM notifications.

Usage

Client

exports.PanNotifications:DisplayNotification({
    title = "Testing info message!",
    body = "Testing info message!",
    type = 'grey',
    icon = "fab fa-angellist"
})

Server

TriggerClientEvent('panNotifications:notify', source, {
    title = "Testing info message!",
    body = "Testing info message!",
    type = 'grey',
    icon = "fab fa-angellist"
})

Example Code:

image image

You can find available icons here.

Available Types

  • grey
  • red
  • yellow
  • green
  • blue
  • purple

Screenshot 2023-11-07 212109

Languages

  • JavaScript 57.8%
  • CSS 23.0%
  • Lua 11.4%
  • HTML 7.8%