fix:(es_extended) - added remove date

Added remove date for  the getSharedObject Event
This commit is contained in:
Benzo
2022-10-24 19:43:32 +02:00
committed by GitHub
parent 56745d8700
commit 018b17e533
+2 -2
View File
@@ -16,7 +16,7 @@ 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! Refer to ^5https://docs.esx-framework.org/tutorials/sharedevent^7 for more info!'):format(Invoke))
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)
@@ -121,4 +121,4 @@ RegisterNetEvent("esx:ReturnVehicleType", function(Type, Request)
Core.ClientCallbacks[Request](Type)
Core.ClientCallbacks[Request] = nil
end
end)
end)