https://wiki.zeroy.com/index.php?title=Call_of_Duty_4:_Scripting_Reference_-_Weapons::ItemWeaponSetAmmo&feed=atom&action=history Call of Duty 4: Scripting Reference - Weapons::ItemWeaponSetAmmo - Revision history 2024-03-28T10:15:12Z Revision history for this page on the wiki MediaWiki 1.41.0 https://wiki.zeroy.com/index.php?title=Call_of_Duty_4:_Scripting_Reference_-_Weapons::ItemWeaponSetAmmo&diff=6577&oldid=prev CoDEmanX: New page: {{Function |Version=4 |Name=ItemWeaponSetAmmo( &lt;clip ammo&gt;, &lt;reserve ammo&gt;, &lt;alt weapon&gt;, ) |Module=Weapons |Available |Summary=Sets the ammo ammount for a weapon item e... 2009-08-01T00:17:19Z <p>New page: {{Function |Version=4 |Name=ItemWeaponSetAmmo( &lt;clip ammo&gt;, &lt;reserve ammo&gt;, &lt;alt weapon&gt;, ) |Module=Weapons |Available |Summary=Sets the ammo ammount for a weapon item e...</p> <p><b>New page</b></p><div>{{Function<br /> |Version=4<br /> |Name=ItemWeaponSetAmmo( &amp;lt;clip ammo&amp;gt;, &amp;lt;reserve ammo&amp;gt;, &amp;lt;alt weapon&amp;gt;, )<br /> |Module=Weapons<br /> |Available<br /> |Summary=Sets the ammo ammount for a weapon item entity (lying on the ground)<br /> |Call_on=A weapon item entity<br /> |Example=&lt;pre&gt;weapon ItemWeaponSetAmmo( 5, 20 );&lt;/pre&gt;<br /> |Required_args=<br /> # &amp;lt;clip ammo&amp;gt; The amount of ammo in the clip.<br /> # &amp;lt;reserve ammo&amp;gt; The amount of ammo not in the clip.<br /> |Optional_args=<br /> # &amp;lt;alt weapon&amp;gt; Pass zero to set ammo for the primary weapon. Pass 1 to set ammo for the alt weapon. The default is 0.<br /> }}</div> CoDEmanX