Garry's Mod Wiki

Revision Difference

Entity:SetDTEntity#518338

<function name="SetDTEntity" 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. Sets the specified entity on this entity's datatable. </description> <realm>Shared</realm> <args> <arg name="key" type="number">Goes from 0 to 31.</arg> <arg name="ent" type="Entity">The entity to write on this entity&#x27;s datatable.</arg> <arg name="ent" type="Entity">The entity to write on this entity's datatable.</arg> </args> </function>