Lua:SpeakPlayer

From Fortress Forever Wiki
Jump to navigationJump to search


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