How to use

Displaying a notification

TriggerEvent('zcmg_advanced-notify:open', title, message, time, type)

Variables:

title: The title you want to give the notification (can be empty)

message: Notification message (html tags can be used)

time: Notification display time (value in milliseconds (ms))

type: Notification type

  • success (green)

  • info (blue)

  • error (red)

  • warning (yellow)

TriggerEvent('zcmg_advanced-notify:open', 'Success', 'Notification System by <span style="color:#1ca800">ZCMG</span>!', 4500, 'success')

Fixed Notification

Allows you to leave a notification always fixed until it is turned off. Only a fixed notification.

Time variable:

on: Turn ON the notification

off: Turn OFF the notification

TriggerEvent('zcmg_advanced-notify:open', 'INFO', 'Notification System by <span style="color:#1c77ff">ZCMG</span>!', 'on', 'info')

Last updated