G.print

From GMod Wiki

Jump to: navigation, search
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: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.print]G.print [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionOutputs Hello World to console.
Used onNewerShared.png
Code
print("Hello World")
OutputPrints Hello World to console



DescriptionOutputs a table to console.
Used onNewerShared.png
Code
print({"test", "Hello There"})
OutputPrints 'table: 507B59D8' to console


Additional Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox