Garry's Mod Wiki

Revision Difference

Entity:SetDTInt#518336

<function name="SetDTInt" 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 integer on the entity's datatable. </description> <realm>Shared</realm> <args> <arg name="key" type="number">Goes from 0 to 31.</arg> <arg name="integer" type="number">The integer to write on the entity&#x27;s datatable. This will be cast to a 32-bit signed integer internally.</arg> <arg name="integer" type="number">The integer to write on the entity's datatable. This will be cast to a 32-bit signed integer internally.</arg> </args> </function>