Difference between revisions of "SayToPlayer"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with "===From the Scripting Manual=== ''procedure SayToPlayer(ID: byte; Text: string);'' '''Parameter Info:''' ID (Byte): Player ID to send text to Text (String): Text to be...")
 
(No difference)

Latest revision as of 11:58, 15 August 2012

From the Scripting Manual

procedure SayToPlayer(ID: byte; Text: string);

Parameter Info:
 ID (Byte): Player ID to send text to
 Text (String): Text to be sent to player(ID).

Description:
 This function will send a /say message to a specific player.

Examples

begin
    SayToPlayer(1,'Soldat is Sexy');
    //This will send /say Soldat is Sexy to player #1
end;


External Links