Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.07 KB

README.md

File metadata and controls

45 lines (34 loc) · 1.07 KB

💬 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