refactor(es_extended) removing getshared event

This commit is contained in:
Benzo
2022-12-04 04:44:23 +01:00
committed by GitHub
parent b4cfc9cef2
commit eb983f1206
-6
View File
@@ -1,9 +1,3 @@
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! Refer to ^5https://docs.esx-framework.org/tutorials/sharedevent^7 for more info!'):format(Invoke))
cb(ESX)
end)
exports('getSharedObject', function()
return ESX
end)