client
SetNotificationTextEntry / DrawNotification
FiveM client native documentation with a Lua example.
Summary
Shows a native GTA notification (the top-left phone-style message). A no-dependency way to notify players, though most frameworks provide nicer notify functions.
Returns
void
Example
SetNotificationTextEntry('STRING')
AddTextComponentSubstringPlayerName('~g~Job complete')
DrawNotification(false, false)Common pitfalls
- Framework notify (QBCore/ESX/ox) usually looks better and is preferred.
- Supports GTA color codes like ~g~ and ~r~.
Related natives
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 →