Minor changes

This commit is contained in:
ElPumpo
2020-02-01 13:02:23 +01:00
parent 2969f9b441
commit 6ed2e1c4e7
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -406,7 +406,7 @@ Citizen.CreateThread(function()
local weaponHash = GetHashKey(weaponName)
local weaponComponents = {}
if HasPedGotWeapon(playerPed, weaponHash, false) and weaponName ~= 'WEAPON_UNARMED' then
if HasPedGotWeapon(playerPed, weaponHash, false) then
local ammo = GetAmmoInPedWeapon(playerPed, weaponHash)
for k2,v2 in ipairs(v.components) do