- Documentation
- Shared functions
- outputConsole
Function
outputConsole
Prints a line in the F8 console. On the server, with no target the line goes to every player.
Syntax
Server
bool outputConsole(string message [, element visibleTo = root])Client
bool outputConsole(string message)Arguments
messagestring- The text.
visibleToelement, optional = root- A player or an element with players (server only).
Returns
true on success.
Example
addCommandHandler("pomoc", function(player)
outputConsole("/pomoc - ta lista", player)
outputConsole("/auto <model> - tworzy pojazd", player)
outputChatBox("Lista komend jest w konsoli (F8).", player)
end)