Scripting/Squirrel/Client Functions/print
This wiki is using an old backup from 2020
Some information may be old/missing
This function prints stuff in the debug file present in %appdata%\VCMP\04Beta\debuglog.txt.
Syntax
print( szText )
Arguments
- STRING szText The message to print.
Example
This will print "Client side scripts loaded" to the debug log when the client side scripts are loaded.
function Script::ScriptLoad( )
{
print( "Client side scripts loaded." );
}
Notes
The event Script::ScriptLoad was used in in this example. More info about them in the corresponding pages.