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



/giveammo - Blackazur - 16.03.2013

Hello how to make this Cmd? Because i have not an Idea how to make it.


Re: /giveammo - SilverKiller - 16.03.2013

This may help you :

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


Re: /giveammo - Mystique - 16.03.2013

Well to make it simple without all that range stuff and such. You do GetPlayerWeaponData, store the ammo parameter in a variable, then you use the SetPlayerAmmo function to give the ammo to another player, simple right?