# Notify

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

***

### 📌 Usage

<pre class="language-lua"><code class="lang-lua">-- ✅ Success
<strong>exports['frkn-uikit']:Notify("success", 5000, "Action completed successfully!")
</strong>
-- ⚠️ 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.")
</code></pre>

***

### 📌 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      |

##


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.0resmon.org/0resmon/frkn-resources/frkn-ui-kit-system/exports/notify.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
