Installation

Installation of cxa-notify

You can join our Discord to stay updated and keep track of updates for all our resources.

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/functions with the following code.

  • Edited version of the qb-core/client/functions code;

  • 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
    )
end

Last updated