util.IsValidPhysicsObject

From Garry's Mod
Jump to: navigation, search
 util.IsValidPhysicsObject( )

Contents

Description

Checks if given numbered physics object of given entity is valid or not. Most useful for ragdolls.

Arguments

Entity ent

The entity

Arguments

number physobj

Number of the physics object to test

Returns

boolean

true is valid, false otherwise
Personal tools
Navigation