WEAPON:ShouldDropOnDie

From Garry's Mod
Jump to: navigation, search
 WEAPON:ShouldDropOnDie( )

Description

Should this weapon be dropped when its owner dies?

This only works if the player has Player:ShouldDropWeapon set to true.

Returns

boolean

Return true to drop the weapon, false otherwise. Default ( if you don't return anything ) is false.
Personal tools
Navigation