mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +00:00
new ESX Notification
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
local function Notify(type, length, message)
|
||||
SendNuiMessage(json.encode({
|
||||
type = type or "info",
|
||||
length = length or 3000,
|
||||
message = message or "ESX-Notify"
|
||||
}))
|
||||
end
|
||||
|
||||
exports('Notify', Notify)
|
||||
RegisterNetEvent("Notify", Notify)
|
||||
|
||||
Reference in New Issue
Block a user