Garry's Mod Wiki

Entity:GetDTString

  string Entity:GetDTString( number key )

Description

This is used internally - although you're able to use it you probably shouldn't.

This is called internally by the Entity:NetworkVar system, you can use this in cases where using NetworkVar is not possible.

Get a string stored in the datatable of the entity.

Arguments

1 number key
Goes from 0 to 3. Specifies what key to grab from datatable.

Returns

1 string
Requested string.