mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:08:54 +00:00
Fix of the recent fix
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user