In-built notification system to display messages to users.
Notify(message, notif_type)
Returns a notification handler object. Also sends an on-screen notification to the user with the specified message and style.
message* (string) - notification message to display
notif_type (string) - notification type which can be info (default), success, warning or error
info
success
warning
error
* = required arguments
notification.close()
Closes the notification early (before it automatically closes after 5 seconds). Takes no parameters
Reference: utils/cl_utils.lua
utils/cl_utils.lua
Last updated 3 years ago