add some chat messages
This commit is contained in:
parent
bbc473a329
commit
5d4dfcb4d9
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user