Open-source FiveM scripts, MLOs, vehicles & server packs for ESX, QBCore & Qbox. Browse Shop →
All Shop
OKOK Notifications

Description

okokNotify is a modern-style notification UI for FiveM. It runs standalone (client script plus an HTML interface) and you trigger notifications from your own scripts with one export or server event.

Features

  • Six notification types: success (green), info (blue), warning (yellow), error (red), phone (orange) and neutral (grey)
  • Each notification has a title, a message and a display time in milliseconds (1000 = 1 second)
  • Plays a notification sound (html/sound.mp3)
  • Icons from Font Awesome 5
  • Add your own types and colours by editing styles.css and scripts.js; the README walks you through it

Usage

Client side:

exports['okokNotify']:Alert("Title", "Message", Time, 'type')

Server side:

TriggerClientEvent('okokNotify:Alert', source, "Title", "Message", Time, 'type')

Requirements

No framework needed. The resource contains only a client script and the HTML/CSS/JS interface.

Installation

  • Place the okokNotify folder in your resources folder.
  • Add ensure okokNotify to your server.cfg.
  • Call the export or event above from your scripts.

Related resources

All resources →