0.0.1
This commit is contained in:
14
resources/[core]/es_extended/shared/main.lua
Normal file
14
resources/[core]/es_extended/shared/main.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user