Exports

Exports

📘 FRKN Notify Export

A custom notification system for FiveM, integrated into frkn-notify. Supports 4 types: success, warning, error, info.


📌 Usage

-- ✅ Success
exports['frkn-notify']:Notify("success", 5000, "Action completed successfully!")

-- ⚠️ Warning
exports['frkn-notify']:Notify("warning", 4000, "Be careful, something might be wrong!")

-- ❌ Error
exports['frkn-notify']:Notify("error", 6000, "An error has occurred!")

-- ℹ️ Info
exports['frkn-notify']: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

Last updated