38 lines
674 B
HTML
38 lines
674 B
HTML
|
<HTML>
|
||
|
<HEAD>
|
||
|
<A HREF="../index.htm">Call of Duty Script Documentation</A>
|
||
|
<BR>
|
||
|
<H1>getweaponclassname(<weapon name>)</H1>
|
||
|
<BR>
|
||
|
</HEAD>
|
||
|
<BODY>
|
||
|
<H2>Module<PRE>Weapons</PRE></H2>
|
||
|
<BR>
|
||
|
<H2>Summary</H2>
|
||
|
<BR>
|
||
|
<PRE>
|
||
|
Returns the classname for the given weapon
|
||
|
</PRE>
|
||
|
<BR>
|
||
|
<H2>Example</H2>
|
||
|
<BR>
|
||
|
<PRE>
|
||
|
weapon_type = getweaponclassname("mosin_nagant_sniper");
|
||
|
</PRE>
|
||
|
<BR>
|
||
|
<H2>Minimum Number of arguments: 1</H2>
|
||
|
<BR>
|
||
|
<UL>
|
||
|
<PRE>
|
||
|
<LI>1 : <weapon name> The name of the weapon</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>
|