> For the complete documentation index, see [llms.txt](https://lcdevdocs.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lcdevdocs.gitbook.io/docs/library/haptic-lib/client-functions/notify.md).

# Notify

Using notifications is easy and currently supports, QB/OX/OkOk its very easy to add your own.

```lua
function functions.Notify(title, message, type)
    if Config.Notify == "qb" then
		TriggerEvent("QBCore:Notify", title .. " " .. message, type)
	elseif Config.Notify == "ox" then
		TriggerEvent('ox_lib:notify', {title = title, description = message, type = type or "success"})
	elseif Config.Notify == "okok" then
		TriggerEvent('okokNotify:Alert', title, message, 6000, type)
	else
		-- Implement your own for standalone
	end
end

```

Usage Example

```lua
HapticLib.Notify("This is a title", "This is a message", "error")
```
