Entity.SetDTInt
From GMod Wiki
Function | |
Syntax | Entity:SetDTInt( Var Key, Integer Value ) |
Description: | |
Sets a DTInt. | |
Returns: | nil |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.SetDTInt]Entity.SetDTInt [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Sets the first DTInt to 123 |
---|---|
Used on | |
Code | ent:SetDTInt(0,123) |
Output | N/A |
Additional Notes
- Key can be a string that corresponds to the name of the DTVar given at creation, or an integer indicating the ID of the DTVar, according to the order the vars were created in.