Garry's Mod Wiki

Revision Difference

Entity:SetDTVector#518334

<function name="SetDTVector" 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 vector on the entity's datatable. </description> <realm>Shared</realm> <args> <arg name="key" type="number">Goes from 0 to 31.</arg> <arg name="vec" type="Vector">The vector to write on the entity&#x27;s datatable.</arg> <arg name="vec" type="Vector">The vector to write on the entity's datatable.</arg> </args> </function>