Garry's Mod Wiki

WEAPON:ShouldDropOnDie

WEAPON:ShouldDropOnDie

boolean 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

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

Special Pages


Wikis

?

Render Time: 20ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 7
Render Body 0
Render Sidebar 6