note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
warning
This function starts with a lowercase letter.
Description
Prints a string to the server console (not in-game chat) and logs (log.txt).
Name | Description |
---|---|
const string[] | The string to print. |
<!-- | foreground (optional) |
background (optional) | The background colour to use. |
Returns
This function does not return any specific values.
Examples
public OnGameModeInit()
{
print("Gamemode started.");
return 1;
}
Related Functions
- printf: Print a formatted message into the server logs and console.