G.MsgAll
From GMod Wiki
| Function | |
| Syntax |
MsgAll( String message ) Where is this used? |
| Description: | |
| Prints a message to the console of every connected player. | |
| Returns: | nil |
| Part of Library: | Global Functions |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.MsgAll]G.MsgAll [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Outputs "Hello World" to console of all connected players. |
|---|---|
| Used on | |
| Code | MsgAll( "Hello World\n" ) |
| Output | Hello World |
Additional Notes
- The message will be yellow in color.
- The message will be limited to 249 characters in size.
- If you wish to send a message to a specific player, consider using PrintMessage or usermessages instead.