GM:DrawPhysgunBeam

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

Contents

Description

Allows you to override physgun beam drawing.

Arguments

Player ply

Physgun owner

Arguments

Weapon physgun

The physgun

Arguments

boolean enabled

Is the beam enabled

Arguments

Entity target

Entity we are grabbing. This will be NULL if nothing is being held

Arguments

number bone

ID of the bone we are aiming at

Arguments

Vector hitPos

Beam hit position relative to the entity

Returns

boolean

Return false to hide default beam
Personal tools
Navigation