Lua:ConsoleToAll

From Fortress Forever Wiki
Jump to navigationJump to search


ConsoleToAll

Sends a text readout to the server's console. Contrary to what the name implies, players will not recieve this message unless they are the one running the server. ConsoleToAll is useful for debugging lua scripts

Usage

ConsoleToAll(text)

Input

text(string)

Output

Returns nothing

Example

function basecap:ontrigger ( trigger_entity )
	if IsPlayer( trigger_entity ) then
		ConsoleToAll("player touched the cap")
	end
end