Skip to content
Notify

esx_notify

The notification system used by es_extended

Arguments

  • message: string
  • The notification message
  • type: string
  • The notification type
  • length: number
  • The notification length
  • title: string?
  • The notification title (optional)

Notification Types

  • success
  • error
  • info
  • warning

Client Triggers

ESX Function

Example

ESX.ShowNotification("message here", "success", 3000, "title here")

Export

Example

exports['esx_notify']:Notify('error', 'This is my new test.',  1500, "Test Notification") 

Server Triggers

Example

TriggerClientEvent("esx:showNotification", playerId, "This is my new test.", "error", 1500, "Test Notification")