Difference between revisions of "Lua:ConsoleToAll"
From Fortress Forever Wiki
Jump to navigationJump to search (New page: {{Infobox manual/Header}} ==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 r...) |
(No difference)
|
Latest revision as of 14:05, 11 May 2009
|
ConsoleToAllSends 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 UsageConsoleToAll(text) Inputtext(string) OutputReturns nothing Examplefunction basecap:ontrigger ( trigger_entity )
if IsPlayer( trigger_entity ) then
ConsoleToAll("player touched the cap")
end
end
|