Garry's Mod Wiki

Revision Difference

Entity:GetDTString#515487

<function name="GetDTString" 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.⤶ ⤶ Get a string stored in the datatable of the entity.⤶ </description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="key" type="number">Goes from 0 to 3.&#xA;Specifies what key to grab from datatable.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="string">Requested string.</ret>⤶ </rets>⤶ </function>⤶ ⤶