Files
esx_core/es_extended/client/common.lua
T
2023-01-18 15:16:23 +01:00

13 lines
443 B
Lua

exports('getSharedObject', function()
return ESX
end)
if GetResourceState('ox_inventory') ~= 'missing' then
Config.OxInventory = true
end
AddEventHandler("esx:getSharedObject", function()
local Invoke = GetInvokingResource()
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)