Fix of the recent fix

This commit is contained in:
P Gergő
2022-11-24 22:46:35 +01:00
committed by GitHub
parent 42d80407b5
commit b2be63f5f4
+4 -4
View File
@@ -1,12 +1,12 @@
Debug = ESX.GetConfig().EnableDebug
---@param message any
---@param type string
local function TextUI(message, type)
---@param message string
---@param typ string
local function TextUI(message, typ)
SendNUIMessage({
action = 'show',
message = message and message or 'ESX-TextUI',
type = type ~= 0 and type or 'info'
type = type(typ) == "string" and typ or 'info'
})
end