Difference between revisions of "TActivePlayer.Say"
(Created page with " '''''procedure Say(Text: string)''''' Text: message to be sent to player. ==Description== Sends a /say message to a player. == Example == <syntaxhighlight lang="pascal"> P...") |
|||
Line 1: | Line 1: | ||
'''''procedure Say(Text: string)''''' | '''''procedure Say(Text: string)''''' | ||
− | Text: message | + | Text: message player will say |
==Description== | ==Description== | ||
− | + | Makes a player say a message. Works like the old [[BotChat]], even though it works on humans too, not only bots. | |
== Example == | == Example == | ||
<syntaxhighlight lang="pascal"> | <syntaxhighlight lang="pascal"> | ||
− | Players[1].Say('Yo | + | Players[1].Say('Yo!'); |
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:TActivePlayer]] | [[Category:TActivePlayer]] |
Latest revision as of 16:23, 1 July 2013
procedure Say(Text: string) Text: message player will say
Description
Makes a player say a message. Works like the old BotChat, even though it works on humans too, not only bots.
Example
Players[1].Say('Yo!');