Garry's Mod Wiki

Revision Difference

util.IsValidPhysicsObject#547021

<function name="IsValidPhysicsObject" parent="util" type="libraryfunc"> <description>Checks if given numbered physics object of given entity is valid or not. Most useful for ragdolls.</description> <realm>Shared and Menu</realm> <file line="13">lua/includes/extensions/util.lua</file> <file line="9-L30">lua/includes/extensions/util.lua</file> <args> <arg name="ent" type="Entity">The entity</arg> <arg name="physobj" type="number">Number of the physics object to test</arg> </args> <rets> <ret name="" type="boolean">true is valid, false otherwise</ret> </rets> </function>