44 lines
858 B
HTML
44 lines
858 B
HTML
<HTML>
|
|
<HEAD>
|
|
<A HREF="../index.htm">Call of Duty Script Documentation</A>
|
|
<BR>
|
|
<H1>setweaponclipammo( <weapon name>, <ammunition> )</H1>
|
|
<BR>
|
|
</HEAD>
|
|
<BODY>
|
|
<H2>Module<PRE>Player</PRE></H2>
|
|
<BR>
|
|
<H2>Summary</H2>
|
|
<BR>
|
|
<PRE>
|
|
Set the weapon clip ammunition for the given weapon.
|
|
</PRE>
|
|
<BR>
|
|
<H2>Call this function on</H2>
|
|
<BR>
|
|
<PRE>
|
|
The player
|
|
</PRE>
|
|
<BR>
|
|
<H2>Example</H2>
|
|
<BR>
|
|
<PRE>
|
|
level.player setweaponclipammo(true);
|
|
</PRE>
|
|
<BR>
|
|
<H2>Minimum Number of arguments: 2</H2>
|
|
<BR>
|
|
<UL>
|
|
<PRE>
|
|
<LI>1 : <weapon name>: (sting) The weapon name for this weapon.</LI>
|
|
<LI>2 : <ammunition>: (integer) The amount of ammunition in the clip.</LI>
|
|
</PRE></UL>
|
|
<H2>Number of optional arguments: 0</H2>
|
|
<BR>
|
|
<UL>
|
|
<PRE>
|
|
</PRE></UL>
|
|
<BR>
|
|
<A HREF="../index.htm">Return to Function List</A><BR>
|
|
</BODY>
|
|
</HTML>
|