Skip to content


ESX.ShowNotification(msg, flash, saveToBrief, hudColorIndex)

This function shows a basic notification to the player.


Argument Data Type Optional Default Value Explanation
msg string No - The message to display
flash boolean Yes false Flash the notification?
saveToBreif boolean Yes true Save to breif? Located in Pause Menu > Help
hudColorIndex number Yes nil The background color, see for available colors

Supported Color Syntax

Syntax Color
r Red
b Blue
g Green
y Yellow
p Purple
o Orange
c Grey
m Dark Grey
u Black
n New Line
s White (default)
w White
h Toggle Bold