warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for 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.