Lua:BroadCastMessageToPlayer

From Fortress Forever Wiki
Revision as of 14:09, 11 May 2009 by Crazycarl (talk | contribs) (New page: {{Infobox manual/Header}} ==BroadCastMessageToPlayer== Sends a text message to a single player. Is it still broadcasting if it only goes to one person? Who came up with this crap? ===Usa...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


BroadCastMessageToPlayer

Sends a text message to a single player. Is it still broadcasting if it only goes to one person? Who came up with this crap?

Usage

BroadCastMessageToPlayer( player, message )

Input

  • player(CFFPlayer) The player to receive the message.
  • message(string) the message to display. Type in your own message, or use an entry from resource\FortressForever_english.txt.

Output

Returns nothing

Example

BroadCastMessageToPlayer( player, "#FF_NOTALLOWEDDOOR" )