diff --git a/TM_LapsKnockout.Script.txt b/TM_LapsKnockout.Script.txt index a57fb8e..c53b04a 100644 --- a/TM_LapsKnockout.Script.txt +++ b/TM_LapsKnockout.Script.txt @@ -6,7 +6,7 @@ #Extends "Libs/Nadeo/TMNext/TrackMania/Modes/TMNextBase.Script.txt" #Const CompatibleMapTypes "TrackMania\\TM_Race,TM_Race" -#Const Version "2022-05-11" +#Const Version "2022-05-13" #Const ScriptName "Modes/TM2020-Gamemodes/TM_LapsKnockout.Script.txt" // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // @@ -234,6 +234,12 @@ foreach (LapNb => State in MatchState.sortkeyreverse()) { foreach (Player in Players) { Player.Dossard_Color = <1., 1., 1.>; } + +if (Last_NbLapsWithoutKO == 1) { + UIManager.UIAll.SendChat(Last_NbLapsWithoutKO ^ " lap without eliminations"); +} else if (Last_NbLapsWithoutKO > 1){ + UIManager.UIAll.SendChat(Last_NbLapsWithoutKO ^ " laps without eliminations"); +} *** ***Match_PlayLoop*** @@ -273,6 +279,7 @@ foreach (Event in RacePendingEvents) { } if (Event.IsEndRace) { + UIManager.UIAll.SendChat("Player $<$ff6" ^ Event.Player.User.Name ^ "$> $<$6f6wins the match!$>"); MB_StopMatch(); }