ESXclient
ESX.ShowNotification
ESX client documentation with a FiveM Lua example.
Summary
Shows a notification to the local player in ESX.
Returns
void
Parameters
messagestringThe text to show.Example
ESX.ShowNotification('~g~Job complete')Common pitfalls
- Client-side call; from the server, trigger the client notify event to the target player.
- Supports GTA color codes like ~g~ (green), ~r~ (red).
Related functions
Related guides
FiveM scripts done right
Optimized, dual-framework scripts for QBCore and ESX from Viper Development — escrow protected, delivered instantly to your Cfx portal.
Browse Scripts →