GM:GravGunPickupAllowed

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

Contents

Description

Returns whether or not a player is allowed to pick up an entity with the gravity gun. Return true to allow.

Arguments

Player ply

The player wielding the gravity gun

Arguments

Entity ent

The entity the player is attempting to pick up

Returns

boolean

Allowed to pick up
Personal tools
Navigation