SA-MP Forums Archive
Get ammo from the gun and clip - 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: Get ammo from the gun and clip (/showthread.php?tid=656102)



Get ammo from the gun and clip - cellps - 07.07.2018

Hello guys, how can I get the amount of ammo that is in the player's gun and in the clip?

I am creating a new HUD and would like to get the ammo from the player look like this



Re: Get ammo from the gun and clip - CodeStyle175 - 07.07.2018

you just need to get GetPlayerAmmo and when you scroll weapon its already reloaded its playerside thingy.