mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-01 10:48:52 +00:00
refactor(es_extended) removing getshared event
This commit is contained in:
@@ -14,11 +14,6 @@ Core.Pickups = {}
|
|||||||
Core.PickupId = 0
|
Core.PickupId = 0
|
||||||
Core.PlayerFunctionOverrides = {}
|
Core.PlayerFunctionOverrides = {}
|
||||||
|
|
||||||
AddEventHandler('esx:getSharedObject', function(cb)
|
|
||||||
local Invoke = GetInvokingResource()
|
|
||||||
print(('[^3WARNING^7] ^5%s^7 used ^5esx:getSharedObject^7, this method is deprecated and should not be used, On 30/11/2022 esx:getSharedObject will come to EOL and be fully removed! Refer to ^5https://docs.esx-framework.org/tutorials/sharedevent^7 for more info!'):format(Invoke))
|
|
||||||
cb(ESX)
|
|
||||||
end)
|
|
||||||
|
|
||||||
exports('getSharedObject', function()
|
exports('getSharedObject', function()
|
||||||
return ESX
|
return ESX
|
||||||
|
|||||||
Reference in New Issue
Block a user