Difference between revisions of "Lua:SpeakPlayer"

From Fortress Forever Wiki
Jump to navigationJump to search
(New page: {{Infobox manual/Header}} ==SpeakPlayer== Plays a vox sentence for a specific player. ===Usage=== <pre>SpeakPlayer( player, sentence )</pre> ===Input=== * player(CFFPlayer) The player t...)
 
(No difference)

Latest revision as of 14:11, 11 May 2009


SpeakPlayer

Plays a vox sentence for a specific player.

Usage

SpeakPlayer( player, sentence )

Input

  • player(CFFPlayer) The player to hear the sentence.
  • sentence(string) The sentence to play. Use an entry from FortressForever\scripts\sentences.txt.

Output

Returns: nothing

Example

SpeakPlayer(player, "CTF_YOUHAVEBALL")
--you have the ball