Merge fix(es_extended): text color formatting in warning message

fix(es_extended): text color formatting in warning message
This commit is contained in:
Kasey Fitton
2025-05-30 18:34:45 +01:00
committed by GitHub
+1 -1
View File
@@ -62,7 +62,7 @@ function ESX.RegisterCommand(name, group, cb, allowConsole, suggestion)
local command = Core.RegisteredCommands[name]
if not command.allowConsole and playerId == 0 then
print(("[^3WARNING^7] ^5%s"):format(TranslateCap("commanderror_console")))
print(("[^3WARNING^7] ^5%s^0"):format(TranslateCap("commanderror_console")))
else
local xPlayer, error = ESX.Players[playerId], nil