mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 09:18:53 +00:00
Update Notify.lua
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
---@param type string the notification type
|
||||
---@param length number the length of the notification
|
||||
---@param message any the message :D
|
||||
local function Notify(type, length, message)
|
||||
SendNuiMessage(json.encode({
|
||||
type = type or "info",
|
||||
@@ -6,8 +9,5 @@ local function Notify(type, length, message)
|
||||
}))
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
exports('Notify', Notify)
|
||||
RegisterNetEvent("ESX:Notify", Notify)
|
||||
|
||||
Reference in New Issue
Block a user