SA-MP Forums Archive
Flamethrower is bugged by default? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Flamethrower is bugged by default? (/showthread.php?tid=664415)



Flamethrower is bugged by default? - masuzaron - 28.02.2019

GivePlayerWeapon(playerid, WEAPON_FLAMETHROWSER, 100)
But in-game when I select flamethrowser I have 10 ammo
In the other case, when I use GivePlayerWeapon(playerid, WEAPON_FLAMETHROWSER, 1000)
In-game I have 100 ammo, what's the problem?
I don't have any anti-cheat scripts, plugins etc this is just a basic command that gives weapon to player.


Re: Flamethrower is bugged by default? - NaS - 28.02.2019

Thats the default behaviour. Not sure why it does that but the ammo count always shows 1/10th of the magazine capacity
GetPlayerAmmo etc should return normal values though.


Re: Flamethrower is bugged by default? - masuzaron - 28.02.2019

@NaS thank you for your answer