Installation
Installation of cxa-notify
General setup;
Extract the file to any location within your resources folder.
After the section where the basic systems are started in your server.cfg file, add;
ensure cxa-notify

Language setting;
If you use a language other than English, customize the locales;


Notify system integration;
If you want to bind all notifications to cxa-hud, update the notification function in
qb-core/client/functionswith the following code.

Edited version of the
qb-core/client/functionscode;

You can copy the code here;
function QBCore.Functions.Notify(text, texttype, length)
exports["cxa-notify"]:sendNotify(
type(text) == 'table' and text.text or text or "Notify",
texttype or "primary",
length or 5000
)
endLast updated