diff --git a/TM_ClimbTheMap.Script.txt b/TM_ClimbTheMap.Script.txt
index f5b8e9b..4bc4e35 100644
--- a/TM_ClimbTheMap.Script.txt
+++ b/TM_ClimbTheMap.Script.txt
@@ -147,6 +147,9 @@ CarRank::Reset();
***Match_InitMap***
***
declare Integer Map_NextUpdate;
+declare netwrite Integer Net_ClimbTheMap_AltitudeOfWR for Teams[0];
+declare netwrite Text Net_ClimbTheMap_NamefWR for Teams[0];
+
declare netwrite Integer[Text] Net_ClimbTheMap_AltitudePerName for Teams[0];
declare netwrite Integer Net_ClimbTheMap_AltitudePerName_Update for Teams[0];
@@ -225,7 +228,20 @@ if (Now > Map_NextUpdate) {
if (Player.User == Null) continue;
if (Player.SpawnStatus == CSmPlayer::ESpawnStatus::NotSpawned) continue;
- AltitudePerName[Player.User.Name] = ML::FloorInteger(Player.Position.Y);
+ declare Integer Altitude = ML::FloorInteger(Player.Position.Y);
+
+ if (Net_ClimbTheMap_AltitudeOfWR < Altitude) {
+ Net_ClimbTheMap_AltitudeOfWR = Altitude;
+ Net_ClimbTheMap_NamefWR = Player.User.Name;
+ }
+
+ declare netwrite Integer Net_ClimbTheMap_AltitudeOfPB for Player;
+
+ if (Net_ClimbTheMap_AltitudeOfPB < Altitude) {
+ Net_ClimbTheMap_AltitudeOfPB = Altitude;
+ }
+
+ AltitudePerName[Player.User.Name] = Altitude;
}
Net_ClimbTheMap_AltitudePerName = AltitudePerName;
Net_ClimbTheMap_AltitudePerName_Update += 1;
@@ -280,7 +296,7 @@ Void SetMl() {
declare Text FrameInstances;
for (I, 0, 100) {
- FrameInstances ^= """""";
+ FrameInstances ^= """""";
}
@@ -298,7 +314,7 @@ Void SetMl() {
-
+
@@ -315,8 +331,13 @@ Void SetMl() {
-
- {{{FrameInstances}}}
+
+
+
+
+
+ {{{FrameInstances}}}
+