G.print

From GMod Wiki

Revision as of 17:47, 25 February 2011 by JohnnyThunders (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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