Squirrel/Client/Functions/Messages/ConsoleMessage
From Liberty Unleashed Wiki
(Difference between revisions)
(Created page with "{{Squirrel/Title|ConsoleMessage}} This function sends a console message to the player running the client script only. == Syntax == <code>ConsoleMessage( string text )</code>...") |
PerikiyoXD (Talk | contribs) |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
{{Squirrel/Title|ConsoleMessage}} | {{Squirrel/Title|ConsoleMessage}} | ||
− | This function sends a | + | This function sends a message to the client's console. |
== Syntax == | == Syntax == | ||
Line 29: | Line 29: | ||
== Related Functions == | == Related Functions == | ||
− | {{Squirrel/Client/Functions/ | + | {{Squirrel/Client/Functions/Messages}} |
Latest revision as of 03:55, 11 August 2016
This function sends a message to the client's console.
[edit] Syntax
ConsoleMessage( string text )
[edit] Arguments
- text - This is the message to send to the player
[edit] Example
This will send messages saying 'Testing... when a client script is loaded.
function onScriptLoad( ) { ConsoleMessage( "Testing..." ); return 1; }
[edit] Notes
The call onScriptLoad was used in in this example. More info about this in the corresponding page.
[edit] Related Functions
- BigMessage
- ClearMessages
- ConsoleMessage
- Message
- PagerMessage
- SmallMessage