SA-MP Forums Archive
help me with you guys! - 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: help me with you guys! (/showthread.php?tid=641531)



help me with you guys! - NguyenPhanAnhTuan - 17.09.2017

How to keep the gun with 2 rounds, then it will not hold that gun anymore

For example, when the player has two guns, a 9mm tree and an MP5, when the MP5 has 10 rounds.
9mm has a bullet
The player can only hold the MP5, and when the player switches to a 9mm gun, he will not be able to hold the gun. (SetPlayerArmedWeapon).


Re: help me with you guys! - AfiqIqbal - 17.09.2017

What are you trying to say?


Re: help me with you guys! - R4nd4ll - 17.09.2017

Please explain more.