2026-04-14 17:41:39 +02:00

15 lines
287 B
Lua

ESX = {}
exports("getSharedObject", function()
return ESX
end)
AddEventHandler("esx:getSharedObject", function(cb)
if ESX.IsFunctionReference(cb) then
cb(ESX)
end
end)
-- backwards compatibility (DO NOT TOUCH !)
Config.OxInventory = Config.CustomInventory == "ox"