Entity.GetNetworkedBool
From GMod Wiki
Revision as of 19:59, 29 October 2009 by Crazy Quebecer (Talk | contribs)
Function | |
Syntax | Entity:GetNetworkedBool( Var index [, Boolean default] ) |
Description: | |
Returns a networked Boolean in this entity set with Entity.SetNetworkedBool with the given index. | |
Returns: | Boolean |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.GetNetworkedBool]Entity.GetNetworkedBool [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- Can be written GetNWBool().
- Networked data is only synchronized when it is set!
- Index can be a String or Integer .
- You must set the Bool somewhere else in your code