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