Make scripted chat messages use the chat message color.
This commit is contained in:
parent
4fb8fc6a30
commit
046ac1f212
7 changed files with 15 additions and 15 deletions
|
|
@ -150,7 +150,7 @@ extend Class SWWMHandler
|
|||
{
|
||||
let l = SWWMOneLiner.Make(oneliner,onelinerspan);
|
||||
StatusBar.AttachMessage(l,-3473);
|
||||
SendNetworkEvent("swwmstoremessage.\cd"..(multiplayer?players[consoleplayer].GetUserName():"Demo").."\c-: "..StringTable.Localize(oneliner),level.totaltime,PRINT_CHAT,consoleplayer);
|
||||
SendNetworkEvent("swwmstoremessage.\cd"..(multiplayer?players[consoleplayer].GetUserName():"Demo").."\c*: "..StringTable.Localize(oneliner).."\c*",level.totaltime,PRINT_CHAT,consoleplayer);
|
||||
}
|
||||
SendNetworkEvent("swwmremotelinertxt."..oneliner,consoleplayer,onelinerlevel);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue