kts.PrintLoc – print localized messages to the game window
kts.PrintLoc(msg)
kts.PrintLoc(player, msg)
In the first form – kts.PrintLoc(msg) – msg is a localization message: either a string key, or the extended form as a table with key and parameters. The given localized message is printed to the in-game "Messages" window for all players.
In the second form – kts.PrintLoc(player, msg) – player is a "Player" object, such as is returned from kts.GetPlayer or kts.GetAllPlayers for example. In this case, the message is printed for the given player only.
No value is returned.