Lua:SmartMessage
From Fortress Forever Wiki
Jump to navigationJump to search
SmartMessageDisplays one text message for a specified player, another for that player's teammates, and another for the other team(s). You can also specify colors for each message. UsageSmartMessage(player, playermessage, teammessage, otherteammessage) SmartMessage( player, "playermessage", "teammessage", "otherteamsmessage", colorid, colorid, colorid ) SmartMessage( player, "playermessage", "teammessage", "otherteamsmessage", colorid, colorid, colorstring ) SmartMessage( player, "playermessage", "teammessage", "otherteamsmessage", colorid, colorstring, colorid ) SmartMessage( player, "playermessage", "teammessage", "otherteamsmessage", colorstring, colorid, colorid ) SmartMessage( player, "playermessage", "teammessage", "otherteamsmessage", colorid, colorstring, colorstring ) SmartMessage( player, "playermessage", "teammessage", "otherteamsmessage", colorstring, colorid, colorstring ) SmartMessage( player, "playermessage", "teammessage", "otherteamsmessage", colorstring, colorstring, colorid ) SmartMessage( player, "playermessage", "teammessage", "otherteamsmessage", colorstring, colorstring, colorstring ) Input
Type in your own message, or use an entry from resource\FortressForever_english.txt OutputReturns nothing ExampleSmartMessage(player, "#FF_YOUDROP", "#FF_TEAMDROP", "#FF_OTHERTEAMDROP") |