fix(es_extended): print formatting

This commit is contained in:
Mycroft
2023-01-04 00:17:51 +00:00
parent 5b2509b2fa
commit e9e4fa0205
+1 -1
View File
@@ -16,7 +16,7 @@ Core.PlayerFunctionOverrides = {}
AddEventHandler("esx:getSharedObject", function()
local Invoke = GetInvokingResource()
print(("[ERROR] Resource %s Used the getSharedObject Event, this event no longer exists! Visit https://documentation.esx-framework.org/tutorials/sharedevent for how to fix!"):format(Invoke))
print(("[^1ERROR^7] Resource ^5%s^7 Used the ^5getSharedObject^7 Event, this event ^1no longer exists!^7 Visit https://documentation.esx-framework.org/tutorials/sharedevent for how to fix!"):format(Invoke))
end)
exports('getSharedObject', function()