diff --git a/[esx]/esx_notify/Notify.lua b/[esx]/esx_notify/Notify.lua index 50007c32..0f5bb58e 100644 --- a/[esx]/esx_notify/Notify.lua +++ b/[esx]/esx_notify/Notify.lua @@ -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)