umsg.Bool
From GMod Wiki
Revision as of 23:51, 21 October 2009 by Crazy Quebecer (Talk | contribs)
| Function | |
| Syntax |
umsg.Bool( Boolean value ) Where is this used? |
| Description: | |
| Includes a boolean in the usermessage. | |
| Returns: | nil |
| Part of Library: | umsg |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Umsg.Bool]Umsg.Bool [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
| Description | Send a bool. |
|---|---|
| Used on | |
| Code | umsg.Bool(true) |
| Output | N/A |
Additional Notes
- The size of a bool is 1 byte.
- If value is nil, false will be sent in place of value.