SA-MP Forums Archive
Counting gun amo? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Counting gun amo? (/showthread.php?tid=124064)



Counting gun amo? - SMCentral - 28.01.2010

How do I count/ measure a players weapons' ammo in 3.0?


Re: Counting gun amo? - Correlli - 28.01.2010

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


Re: Counting gun amo? - SMCentral - 28.01.2010

I've heard that those callbacks no longer work in 3.0


Re: Counting gun amo? - Correlli - 28.01.2010

GetPlayerWeaponData function works just fine (some people said that it has some bugs but i never had any serious problems with it) and GetPlayerAmmo function is broken but there is an useful function in the link, just check it.


Re: Counting gun amo? - SMCentral - 28.01.2010

Oh okay.

Thanks a lot mate. Great help.