Improved translations, fixes #69 and #67

This commit is contained in:
ElPumpo
2018-05-01 12:09:06 +02:00
parent 0edf413a99
commit 3760c3350f
7 changed files with 221 additions and 186 deletions
+1 -1
View File
@@ -1177,7 +1177,7 @@ ESX.ShowInventory = function()
if type == 'item_weapon' then
local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer()
local closestPed = GetPlayerPed(closestPlayer)
local pedAmmo = GetAmmoInPedWeapon(GetPlayerPed(-1),GetHashKey(item))
local pedAmmo = GetAmmoInPedWeapon(GetPlayerPed(-1), GetHashKey(item))
if not IsPedSittingInAnyVehicle(closestPed) then
if closestPlayer ~= -1 and closestDistance < 3.0 then
if pedAmmo > 0 then