A custom notification system for FiveM, integrated into frkn-notify.
Supports 4 types: success, warning, error, info.
π Usage#
-- β
Success
exports['frkn-uikit']:Notify("success", 5000, "Action completed successfully!")
-- β οΈ Warning
exports['frkn-uikit']:Notify("warning", 4000, "Be careful, something might be wrong!")
-- β Error
exports['frkn-uikit']:Notify("error", 6000, "An error has occurred!")
-- βΉοΈ Info
exports['frkn-uikit']:Notify("info", 3000, "This is an informational message.")
π Parameters#
| Parameter | Type | Description |
|---|---|---|
type | string | One of: success, warning, error, info |
duration | number | Display time in milliseconds |
message | string | The text to show inside the notification |