Merge pull request #1610 from esx-framework/Mycroft-Studios-patch-1

tweak(es_extended/shared/main): remove deprication message
This commit is contained in:
Kasey Fitton
2025-02-07 13:57:16 +00:00
committed by GitHub
-2
View File
@@ -8,8 +8,6 @@ AddEventHandler("esx:getSharedObject", function(cb)
if ESX.IsFunctionReference(cb) then
cb(ESX)
end
local invokingResource = GetInvokingResource()
print(("^3[WARNING]^0 Resource ^5%s^0 used the ^5getSharedObject^0 event. This is not the recommended way to import ESX. Visit https://docs.esx-legacy.com/tutorials/tutorials-esx/sharedevent to find out why."):format(invokingResource))
end)
-- backwards compatibility (DO NOT TOUCH !)