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



Setweaponammo - Micklo - 08.11.2015

Hello Can I get help with how to set ammo to your guns I dont need that non rp unlimited ammo


Re: Setweaponammo - Gammix - 08.11.2015

Set weapon's ammo: https://sampwiki.blast.hk/wiki/SetPlayerAmmo
Get current weapon's ammo: https://sampwiki.blast.hk/wiki/GetPlayerAmmo

You can also use GivePlayerWeapon to deduct or give ammo for a weapon: https://sampwiki.blast.hk/wiki/GivePlayerWeapon