tweak(es_extended): remove unused event handler

This commit is contained in:
Mycroft
2022-12-09 18:15:15 +00:00
parent 51280a094c
commit bdd56329c7
-10
View File
@@ -359,16 +359,6 @@ AddEventHandler('esx:playerLogout', function(playerId, cb)
TriggerClientEvent("esx:onPlayerLogout", playerId)
end)
RegisterNetEvent('esx:updateCoords')
AddEventHandler('esx:updateCoords', function()
local source = source
local xPlayer = ESX.GetPlayerFromId(source)
if xPlayer then
xPlayer.updateCoords()
end
end)
if not Config.OxInventory then
RegisterNetEvent('esx:updateWeaponAmmo')
AddEventHandler('esx:updateWeaponAmmo', function(weaponName, ammoCount)