Garry's Mod Wiki

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

Page Links


Special Pages


Wikis

?

Render Time: 31ms

DB GetPage 4
Generate Html 4
SaveChanges (1) 11
Render Body 0
Render Sidebar 9