Garry's Mod Wiki

Player:ShouldDropWeapon

void Player:ShouldDropWeapon( boolean drop )

Description

Sets whether the player's current weapon should drop on death.

This is reset on spawn to the player class's DropWeaponOnDie field by player_manager.OnPlayerSpawn.

Arguments

1 boolean drop
Whether to drop the player's current weapon or not

Page Links


Special Pages


Wikis

?

Render Time: 37ms

Session 0
DB GetPage 3
Generate Html 1
SaveChanges 16
Render Body 0
Render Sidebar 15