diff --git a/[core]/es_extended/server/classes/player.lua b/[core]/es_extended/server/classes/player.lua index 17f110ba7..401e7dd1f 100644 --- a/[core]/es_extended/server/classes/player.lua +++ b/[core]/es_extended/server/classes/player.lua @@ -637,7 +637,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, if weapon then weapon.ammo = weapon.ammo - ammoCount - self.triggerEvent('esx:setWeaponAmmo', weaponName, weapon.ammo) + _SetPedAmmo(GetPlayerPed(self.source), joaat(weaponName), weapon.ammo) end end