Garry's Mod Wiki

Revision Difference

Player:ShouldDropWeapon#512452

<function name="ShouldDropWeapon" parent="Player" type="classfunc">⤶ <description>⤶ Sets whether the player's current weapon should drop on death.⤶ ⤶ <note>This is reset on spawn to the [player class](/gmod/Player_Classes)'s **DropWeaponOnDie** field by <page>player_manager.OnPlayerSpawn</page>.</note>⤶ </description>⤶ <realm>Server</realm>⤶ <args>⤶ <arg name="drop" type="boolean">Whether to drop the player&#x27;s current weapon or not</arg>⤶ </args>⤶ </function>⤶ ⤶