Difference between revisions of "Lua:SmartTeamMessage"

From Fortress Forever Wiki
Jump to navigationJump to search
(New page: {{Infobox manual/Header}} ==SmartTeamMessage== Displays one text message for a specified team, and another for the other team(s). ===Usage=== <pre>SmartTeamMessage(player, playermessage,...)
(No difference)

Revision as of 14:13, 11 May 2009


SmartTeamMessage

Displays one text message for a specified team, and another for the other team(s).

Usage

SmartTeamMessage(player, playermessage, teammessage, otherteammessage)

Input

  • team(CFFTeam) The team that will see the primary message
  • teammessage(string) message for the selected team
  • otherteammessage(string) message for the other team(s)

Type in your own message, or use an entry from resource\FortressForever_english.txt

Output

Returns nothing

Example

SmartTeamMessage(team, "You win!", "You lose, losers.")