Files
CasperV1FiveM/resources/[core]/es_extended/shared/main.lua
2026-07-07 21:08:52 +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"