kts.PrintLoc

Name

kts.PrintLoc – print localized messages to the game window

Synopsis

kts.PrintLoc(msg)

kts.PrintLoc(player, msg)

Description

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.

Return Value

No value is returned.

See Also

kts.DebugPrint

Localization