Garry's Mod Wiki

Garry's Mod Wiki

  boolean util.IsValidPhysicsObject( Entity ent, number physobj )

Description

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

Arguments

1 Entity ent
The entity to take.
2 number physobj
Number of the physics object to test.

Returns

1 boolean
true that's valid, false otherwise.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...