SA-MP Forums Archive
Ammo split. - 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: Ammo split. (/showthread.php?tid=478378)



Ammo split. - RedCounty - 29.11.2013

How could I make it so when I have a weapon, I get the ammo EG:

I have an M4A1 with 100 ammo, how can I make the ammo show like this:

30/70

First part being current clip - Second part being remaining bullets.

Thanks!


Re: Ammo split. - Avi Raj - 29.11.2013

https://sampwiki.blast.hk/wiki/GetPlayerWeaponData


Re: Ammo split. - RedCounty - 29.11.2013

What's that got to do with splitting the ammo?