From 997beb97a9af43d4801163c4734b2d0c0a5fe413 Mon Sep 17 00:00:00 2001 From: Beu Date: Sun, 31 Oct 2021 12:02:19 +0100 Subject: [PATCH] Add 2 more rows in the UI --- TM_SeedingTimeAttack_Online.Script.txt | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/TM_SeedingTimeAttack_Online.Script.txt b/TM_SeedingTimeAttack_Online.Script.txt index be7b6f6..7a5ac34 100644 --- a/TM_SeedingTimeAttack_Online.Script.txt +++ b/TM_SeedingTimeAttack_Online.Script.txt @@ -757,11 +757,11 @@ Void SetML() { PlayerNameColor = <0.431,0.98,0.627>; // Green } - if (Index < 8 || Index == 10 || GUIPlayer == Null || (GUIPlayerPassed && PlayerUID != GUIPlayer.User.WebServicesUserId) || (GUIPlayerPassed && PlayerUID == GUIPlayer.User.WebServicesUserId && Rank <= 8 )) { + if (Index < 10 || Index == 12 || GUIPlayer == Null || (GUIPlayerPassed && PlayerUID != GUIPlayer.User.WebServicesUserId) || (GUIPlayerPassed && PlayerUID == GUIPlayer.User.WebServicesUserId && Rank <= 10 )) { DevLog("[Update UI] Normal Entry"); SetPlayerEntry(Index,Rank,User.Name,PlayerNameColor,Net_RoundPoints[PlayerUID],Points); Index = Index + 1; - } else if (GUIPlayerPassed && PlayerUID == GUIPlayer.User.WebServicesUserId && Rank > 8 ) { + } else if (GUIPlayerPassed && PlayerUID == GUIPlayer.User.WebServicesUserId && Rank > 10 ) { DevLog("[Update UI] Last Entries"); if (Rank == PlayersMatchPoints.count) { SetPlayerEntry(Index,Rank-2,PreviousPreviousUser.Name,<1.,1.,1.>,Net_RoundPoints[PreviousPreviousUser.WebServicesUserId],PlayersMatchPoints[PreviousPreviousUser.WebServicesUserId]); @@ -776,7 +776,7 @@ Void SetML() { PreviousPreviousUser <=> PreviousUser; PreviousUser <=> User; } - if (Index > 10) break; + if (Index > 12) break; Rank = Rank + 1; } } @@ -791,7 +791,7 @@ Void SetML() { - +