https://wiki.zeroy.com/index.php?title=Call_of_Duty_4:_Scripting_Reference_-_Weapons::ItemWeaponSetAmmo&feed=atom&action=historyCall of Duty 4: Scripting Reference - Weapons::ItemWeaponSetAmmo - Revision history2024-03-28T10:15:12ZRevision history for this page on the wikiMediaWiki 1.41.0https://wiki.zeroy.com/index.php?title=Call_of_Duty_4:_Scripting_Reference_-_Weapons::ItemWeaponSetAmmo&diff=6577&oldid=prevCoDEmanX: New page: {{Function |Version=4 |Name=ItemWeaponSetAmmo( <clip ammo>, <reserve ammo>, <alt weapon>, ) |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( <clip ammo>, <reserve ammo>, <alt weapon>, ) |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( &lt;clip ammo&gt;, &lt;reserve ammo&gt;, &lt;alt weapon&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=<pre>weapon ItemWeaponSetAmmo( 5, 20 );</pre><br />
|Required_args=<br />
# &lt;clip ammo&gt; The amount of ammo in the clip.<br />
# &lt;reserve ammo&gt; The amount of ammo not in the clip.<br />
|Optional_args=<br />
# &lt;alt weapon&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