Lua:ConsoleToAll
From Fortress Forever Wiki
Jump to navigationJump to search
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 |