chore(legacy): Remove resource name print; fix typos

This commit is contained in:
Linden
2021-05-16 19:36:17 +10:00
parent c2a2eec71d
commit c41cd943b1
4 changed files with 19 additions and 19 deletions
+4 -4
View File
@@ -41,26 +41,26 @@ MySQL.ready(function()
if ESX.Jobs[v.job_name] then
ESX.Jobs[v.job_name].grades[tostring(v.grade)] = v
else
print(('[^5es_extended^0] [^3WARNING^7] Ignoring job grades for ^5"%s"^0 due to missing job'):format(v.job_name))
print(('[^3WARNING^7] Ignoring job grades for ^5"%s"^0 due to missing job'):format(v.job_name))
end
end
for k2,v2 in pairs(ESX.Jobs) do
if ESX.Table.SizeOf(v2.grades) == 0 then
ESX.Jobs[v2.name] = nil
print(('[^5es_extended^0] [^3WARNING^7] Ignoring job ^5"%s"^0due to no job grades found'):format(v2.name))
print(('[^3WARNING^7] Ignoring job ^5"%s"^0due to no job grades found'):format(v2.name))
end
end
end)
end)
print('[^5es_extended^0] [^2INFO^7] ESX ^5Legacy^0 initialized')
print('[^2INFO^7] ESX ^5Legacy^0 initialized')
end)
RegisterServerEvent('esx:clientLog')
AddEventHandler('esx:clientLog', function(msg)
if Config.EnableDebug then
print(('[^5es_extended^0] [^2TRACE^7] %s^7'):format(msg))
print(('[^2TRACE^7] %s^7'):format(msg))
end
end)