Garry's Mod Wiki

Entity:GetDTInt

  number Entity:GetDTInt( 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 an integer stored in the datatable of the entity.

Arguments

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

Returns

1 number
32-bit signed integer