Lua:SmartTeamMessage

From Fortress Forever Wiki
Revision as of 14:13, 11 May 2009 by Crazycarl (talk | contribs) (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,...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


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.")