Garry's Mod Wiki

Revision Difference

Entity:GetDTEntity#515490

<function name="GetDTEntity" parent="Entity" type="classfunc">⤶ <description>⤶ <internal></internal>⤶ This is called internally by the <page>Entity:NetworkVar</page> system, you can use this in cases where using NetworkVar is not possible.⤶ ⤶ Returns an entity stored in the datatable of the entity.⤶ </description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="key" type="number">Goes from 0 to 63.&#xA;Specifies what key to grab from datatable.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="Entity">Requested entity.</ret>⤶ </rets>⤶ </function>⤶ ⤶