Entity/SetDTString

From Garry's Mod
Jump to: navigation, search
 Entity:SetDTString( )

Description

This is an internal function or feature.
This means you will be able to use it, but you really shouldn't.

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

Sets the specified string on the entity's datatable.

NOTE

The length of these strings are capped at 512 characters.

Arguments

number key

Goes from 0 to 3.

Arguments

string str

The string to write on the entity's datatable, can't be more than 512 characters per string.
Personal tools
Navigation