AW ScriptsDocs
AW Notify

Installation

#Requirements

Requirement Status
QBCore, Qbox, ESX, ox_lib or standalone Required

#Installation

  1. Put aw_notify in your resources folder and add it right below ensure ox_lib:
    server.cfg
    ensure aw_notify
    
  2. Connect your framework (once). Open the file below for the framework you use and make the change shown. Only change the frameworks you have. The rest of the function stays as it is.
  3. Restart the server and type /notifytest in game to see every type.

Your own scripts can also call AW Notify directly (see Exports and events), without any framework change.

qb-core/client/functions.lua: add this as the first line inside function QBCore.Functions.Notify(text, texttype, length, icon):

Lua
    if GetResourceState('aw_notify') == 'started' then return exports['aw_notify']:Notify(text, texttype, length, nil, icon) end