mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 08:13:21 +00:00
Fixed #67 one last time
This commit is contained in:
@@ -1331,7 +1331,7 @@ ESX.ShowInventory = function()
|
||||
local finalAmmoSource = math.floor(pedAmmo - quantity)
|
||||
SetPedAmmo(playerPed, item, finalAmmoSource)
|
||||
AddAmmoToPed(closestPed, item, quantity)
|
||||
ESX.ShowNotification(_U('gave_ammo', quantity))
|
||||
ESX.ShowNotification(_U('gave_ammo', quantity, GetPlayerName(closestPlayer)))
|
||||
-- todo notify target that he recived ammo
|
||||
menu2.close()
|
||||
menu.close()
|
||||
|
||||
Reference in New Issue
Block a user