Installation Guide

Server artifacts

Make sure your server artifacts version is above the 5181.

Displaying a notification

Client side

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

Server side

TriggerClientEvent('okokNotify:Alert', source, 'Title', 'Message', Time, 'type')
  • 1000 = 1 second.
  • success (green);
  • info (blue);
  • warning (yellow);
  • error (red);
  • phonemessage (orange);
  • neutral (grey).

Adding new colors/notification types

Navigate to the config.lua file and just replicate the existing examples.

Configure the config file to your liking

Copy link
On this page
Installation Guide