Revision Difference
NPC:SelectWeapon#527993
<function name="SelectWeapon" parent="NPC" type="classfunc">
<description>Forces the NPC to switch to a specific weapon the NPC owns. See <page>NPC:GetWeapons</page>.</description>
<realm>Server</realm>
<added>2020.06.24</added>⤶
<args>
<arg name="class" type="string">A classname of the weapon or a <page>Weapon</page> entity to switch to.</arg>
</args>
</function>