Garry's Mod Wiki

util.IsValidPhysicsObject

util.IsValidPhysicsObject

  boolean util.IsValidPhysicsObject( Entity ent, number physobj )

Description

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

Arguments

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

Returns

1 boolean
true is valid, false otherwise

Special Pages


Wikis

?

Render Time: 22ms

DB GetPage 3
Generate Html 4
SaveChanges (1) 5
Render Body 0
Render Sidebar 7