GM/PlayerDroppedWeapon

From Garry's Mod
Jump to: navigation, search
 GM:PlayerDroppedWeapon( )

Description

Called when a weapon is dropped by a player via Player:DropWeapon.

The weapon's Entity:GetOwner will be NULL at the time this hook is called.
WEAPON:OnDrop will be called before this hook is.

Arguments

Player owner

The player who owned this weapon before it was dropped

Arguments

Weapon wep

The weapon that was dropped
Personal tools
Navigation