Garry's Mod Wiki

Revision Difference

Global.DamageInfo#514789

<function name="DamageInfo" parent="Global" type="libraryfunc">⤶ <description>⤶ Returns an <page>CTakeDamageInfo</page> object.⤶ ⤶ <bug issue="2771">This does not create a unique object, but instead returns a shared reference. That means you cannot use two or more of these objects at once.</bug>⤶ </description>⤶ <realm>Shared</realm>⤶ <rets>⤶ <ret name="" type="CTakeDamageInfo">The <page>CTakeDamageInfo</page> object.</ret>⤶ </rets>⤶ </function>⤶ ⤶