mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-11 15:48:05 -05:00
Grief: add round won/lost text
This commit is contained in:
@ -152,7 +152,21 @@ round_end(winner, force_win)
|
||||
setroundsplayed(level.round_number);
|
||||
|
||||
level thread maps/mp/zombies/_zm_audio_announcer::leaderdialog( "grief_restarted" );
|
||||
if(!winner_alive)
|
||||
if(winner_alive)
|
||||
{
|
||||
foreach(player in players)
|
||||
{
|
||||
if(player.team == team)
|
||||
{
|
||||
player thread scripts/zm/main/_zm_reimagined_zgrief::show_grief_hud_msg( "You won the round" );
|
||||
}
|
||||
else
|
||||
{
|
||||
player thread scripts/zm/main/_zm_reimagined_zgrief::show_grief_hud_msg( "You lost the round" );
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach(player in players)
|
||||
{
|
||||
|
Reference in New Issue
Block a user