Garry's Mod Wiki

Revision Difference

Weapon:SetClip1#568348

<function name="SetClip1" parent="Weapon" type="classfunc"> <description>Lets you change the number of bullets in the given weapons primary clip.</description>⤶ <description>Sets the number of bullets in the weapon's primary clip.⤶ ⤶ See <page>Weapon:SetClip2</page> for the secondary clip. See also <page>Weapon:DefaultReload</page>.⤶ </description>⤶ <realm>Shared</realm> <args> <arg name="ammo" type="number">The amount of bullets the clip should contain</arg>⤶ <arg name="ammo" type="number">The amount of bullets the primary clip should contain.</arg>⤶ </args> </function>