https://i.hizliresim.com/gou8gb4.gif https://i.hizliresim.com/gou8gb4.gif

Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Fivem M3 1 MERMİ SORUNU

Katılım
23 Tem 2021
Mesajlar
430
m3_inventoryhud/client/client.lua

BU KODU
----------------------

Kod:
Kod:
ESX.TriggerServerCallback('m3:inventoryhud:server:getAmmoCount', function(ammoCount)
GiveWeaponToPed(playerPed, hash, 1, false, true)
if checkh[weapon] == hash then
SetPedAmmo(playerPed, hash, 1)
elseif Config.ItemWeapons.FuelCan == hash or 'WEAPON_FIREEXTINGUISHER' == name then
SetPedAmmo(playerPed, hash, 4500)
elseif not ammoCount then
SetPedAmmo(playerPed, hash, 1)
elseif ammoCount < 1 then
SetPedAmmo(playerPed, hash, 1)
else
SetPedAmmo(playerPed, hash, ammoCount)
end
end, hash)
--------------
BU KOD İLE DEĞİŞTİRİN
---------------

Kod:
Kod:
ESX.TriggerServerCallback('m3:inventoryhud:server:getAmmoCount', function(ammoCount)
GiveWeaponToPed(playerPed, hash, 1, false, true)
if checkh[weapon] == hash then
SetPedAmmo(playerPed, hash, 1)
elseif Config.ItemWeapons.FuelCan == hash or 'WEAPON_FIREEXTINGUISHER' == name then
SetPedAmmo(playerPed, hash, 4500)
elseif not ammoCount then
SetPedAmmo(playerPed, hash, 1)
elseif ammoCount < 0 then
SetPedAmmo(playerPed, hash, 1)
else
SetPedAmmo(playerPed, hash, ammoCount)
end
end, hash)
 
Geri
Üst