G.print
From GMod Wiki
| Function | |
| Syntax |
print( String message ) Where is this used? |
| Description: | |
| This function prints text in the console. | |
| Returns: | nil |
| Part of Library: | Global Functions |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.print]G.print [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Outputs Hello World to console. |
|---|---|
| Used on | |
| Code | print("Hello World") |
| Output | Prints Hello World to console |
| Description | Outputs a table to console. |
|---|---|
| Used on | |
| Code | print({"test", "Hello There"}) |
| Output | Prints 'table: 507B59D8' to console |