Fixed #67 one last time

This commit is contained in:
ElPumpo
2018-05-01 21:56:41 +02:00
parent 3760c3350f
commit 8c129873f0
+1 -1
View File
@@ -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()