Garry's Mod Wiki

Revision Difference

Player:RemoveAmmo#512491

<function name="RemoveAmmo" parent="Player" type="classfunc">⤶ <description>Removes the amount of the specified ammo from the player.</description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="ammoCount" type="number">The amount of ammunition to remove.</arg>⤶ <arg name="ammoName" type="string">The name of the ammunition to remove from. This can also be a &lt;page&gt;number&lt;/page&gt; ammoID.</arg>⤶ </args>⤶ </function>⤶ ⤶