Overview
Access viaNotification (client-side only).
Multiple Types
Success, error, warning, info, standard
Custom Styling
Custom colors and styles
Auto-Dismiss
Configurable duration (default 2.5s)
Persistent
Sticky notifications with manual dismiss
Standard Notifications
Success
Display success message (green). Parameters:
Example:
Error
Display error message (red). Parameters:
Example:
Warn
Display warning message (orange/yellow). Parameters:
Example:
Info
Display info message (blue). Parameters:
Example:
Standard
Display neutral message (gray). Parameters:
Example:
Custom
Display notification with custom styling. Parameters:
Example:
Persistent Notifications
Persistent notifications stay on screen until manually dismissed. Useful for ongoing events, warnings, or status indicators.Persistent.Success
Parameters:
Example:
Persistent.Error
Example:Persistent.Warn
Example:Persistent.Info
Example:Persistent.Standard
Example:Persistent.Custom
Parameters:
Example:
Persistent.Remove
Remove a persistent notification. Parameters:
Example:
Clear
Clear ALL notifications (temporary and persistent). Parameters:
Example:
Complete Examples
Server to Client
Wanted Level System
Race System
Fuel Warning
Heist System
Icon Reference
Common Font Awesome icon names:General
check- Checkmarkxmark- X markcircle-info- Info circletriangle-exclamation- Warning trianglebell- Bell
Money & Shopping
dollar-sign- Dollar signcoins- Coinscredit-card- Credit cardshopping-cart- Shopping cartcash-register- Cash register
Vehicles
car- Cartruck- Truckmotorcycle- Motorcyclegas-pump- Gas pumpwrench- Wrench
People & Jobs
user- Usershield- Shield (police)truck-medical- Medicalbriefcase- Businesshammer- Mechanic
Actions
key- Keylock- Lockunlock- Unlockdoor-open- Door openbox- Box
Status
heart- Healthbattery-full- Full battery/statussignal- Signalwifi- Wifi/connection
Best Practices
Appropriate Types
Duration Guidelines
Persistent Notifications
Next Steps
Progress Bars
Timed action progress bars
Menus
Input forms and menu systems
HUD Exports
Main HUD controls
Status System
Hunger, thirst, stress