Scripting/Squirrel/Client Functions/Console::Print
This wiki is using an old backup from 2020
Some information may be old/missing
This function writes text to the game console.
Syntax
Console.Print( szText )
Arguments
- STRING szText The message to print.
Example
This will message 'player has died.' whenever a player dies.
function Player::PlayerDeath( player )
{
Console.Print( player.Name + " has died." );
}
Notes
The event Player::PlayerDeath was used in in this example. More info about them in the corresponding pages.