Exports

Exports of gx_notify Resource

Notify

exports.gx_notify:Notify("Notificaci贸n Message test")

NotifyAdvanced

exports.gx_notify:NotifyAdvanced({
    title = "Bank of YourServer",
    subject = "Transaction",
    message = "You have received ~g~$1000~s~ from YourServer",
    icon = "CHAR_BANK_MAZE",
    timeout = 10,
    flash = false
})

Text-Ui

exports.gx_notify:Help(targetCoords, "~INPUT_CONTEXT~ - Interaction")

Example Code

-- client

RegisterCommand("client_test", function() 
    exports.gx_notify:Notify("Notificaci贸n Message test")
end)

-- server

RegisterCommand("server_test", function(source) 
    TriggerClientEvent("gx_notify:Notify", source, "Notificaci贸n Message test")
end)

Last updated