Entity.SetDTFloat
From GMod Wiki
Function | |
Syntax | Entity:SetDTFloat( Var Key, Float Value ) |
Description: | |
Sets a DTFloat. | |
Returns: | nil |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.SetDTFloat]Entity.SetDTFloat [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Sets the first DTFloat to 1.23 |
---|---|
Used on | |
Code | ent:SetDTFloat(0,1.23) |
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.