TActivePlayer.WriteConsole

From Soldat Community Wiki
Jump to: navigation, search
procedure WriteConsole(Text: string; Color: Longint)
 Text: message to send to player
 Color: text's color

Description

Sends a message to a player.

Examples

Players[1].WriteConsole('Hey you!',$FF00FF); //sends "Hey you!" in pink to player 1
Players.WriteConsole('This server is like so cooool',$FFFFFF); //sends message to all players in server.