Page cover

πŸ’ΏInstallation

Discover how to install your script.

β€’ STEP 1: DEPENDENCIES

Make sure you have this resources installed in your server!

  1. this resource is standalone, it works with any framework.

β€’ STEP 2: START ORDER

ensure zr-notify

β€’ STEP 3: DATABASE

β€’ STEP 4: EXPORTS (Client Side)

-- eexports['zr-notify']:zr_notify('type', 'message', time, 'title', 'side')
exports['zr-notify']:zr_notify('bank', "Write here your messages.", 5000, 'BANK', 'left')
exports['zr-notify']:zr_notify('car', "Write here your messages.", 5000, 'CAR', 'left')
exports['zr-notify']:zr_notify('cash', "Write here your messages.", 5000, 'CASH', 'left')
exports['zr-notify']:zr_notify('error', "Write here your messages.", 5000, 'ERROR', 'left')
exports['zr-notify']:zr_notify('info', "Write here your messages.", 5000, 'INFO', 'left')
exports['zr-notify']:zr_notify('message', "Write here your messages.", 5000, 'MESSAGE', 'right')
exports['zr-notify']:zr_notify('phone', "Write here your messages.", 5000, 'PHONE', 'right')
exports['zr-notify']:zr_notify('primary', "Write here your messages.", 5000, 'PRIMARY', 'right')
exports['zr-notify']:zr_notify('success', "Write here your messages.", 5000, 'SUCCESS', 'right')
exports['zr-notify']:zr_notify('warning', "Write here your messages.", 5000, 'WARNING', 'right')

β€’ STEP 5: TRIGGERS

From Client Side :

From Server Side :

β€’ EXAMPLE : Paycheck QBCore

β€’ STEP 6: EXTRA

If you have qbcore or esx, you can change all the server notifications from the core, so you avoid doing it manually for every single notification.

qbcore -> client -> functions.lua

for esx framework.

es_extended -> client -> functions.lua

Last updated