SayToPlayer

From Soldat Community Wiki
Revision as of 10:58, 15 August 2012 by Freeman (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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