Garry's Mod Wiki

Revision Difference

Entity:TakePhysicsDamage#518300

<function name="TakePhysicsDamage" parent="Entity" type="classfunc"> <description>Applies forces to our physics object in response to damage.</description> <realm>Server</realm> <args> <arg name="dmginfo" type="CTakeDamageInfo">The damageinfo to apply. Only &lt;page&gt;CTakeDamageInfo:GetDamageForce&lt;/page&gt; and &lt;page&gt;CTakeDamageInfo:GetDamagePosition&lt;/page&gt; are used.</arg> <arg name="dmginfo" type="CTakeDamageInfo">The damageinfo to apply. Only <page>CTakeDamageInfo:GetDamageForce</page> and <page>CTakeDamageInfo:GetDamagePosition</page> are used.</arg> </args> </function>