Garry's Mod Wiki

Garry's Mod Wiki

  Entity:SetDTString( number key, string str )

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.

Sets the specified string on the entity's datatable.

The length of these strings are capped at 512 characters.

Arguments

1 number key
Goes from 0 to 3.
2 string str
The string to write on the entity's datatable, can't be more than 512 characters per string.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...