This commit is contained in:
GenZmeY 2021-06-13 08:40:26 +03:00
parent 32e7198360
commit 73419a58f2

View File

@ -267,24 +267,19 @@ function DrawMenu()
PerkXPos = Width * 0.40; PerkXPos = Width * 0.40;
Canvas.TextSize(class'KFGFxHUD_ScoreboardWidget'.default.PingString$" ", XL, YL, FontScalar, FontScalar); Canvas.TextSize(class'KFGFxHUD_ScoreboardWidget'.default.PingString$" ", XL, YL, FontScalar, FontScalar);
XL = XL < MinBoxW ? MinBoxW : XL; PingXPos = Width - (XL < MinBoxW ? MinBoxW : XL);
PingXPos = Width - XL;
Canvas.TextSize(State$" ", XL, YL, FontScalar, FontScalar); Canvas.TextSize(State$" ", XL, YL, FontScalar, FontScalar);
XL = XL < MinBoxW ? MinBoxW : XL; HealthXPos = PingXPos - (XL < MinBoxW ? MinBoxW : XL);
HealthXPos = PingXPos - XL;
Canvas.TextSize(class'KFGFxHUD_ScoreboardWidget'.default.AssistsString$" ", XL, YL, FontScalar, FontScalar); Canvas.TextSize(class'KFGFxHUD_ScoreboardWidget'.default.AssistsString$" ", XL, YL, FontScalar, FontScalar);
XL = XL < MinBoxW ? MinBoxW : XL; AssistXPos = HealthXPos - (XL < MinBoxW ? MinBoxW : XL);
AssistXPos = HealthXPos - XL;
Canvas.TextSize(class'KFGFxHUD_ScoreboardWidget'.default.KillsString$" ", XL, YL, FontScalar, FontScalar); Canvas.TextSize(class'KFGFxHUD_ScoreboardWidget'.default.KillsString$" ", XL, YL, FontScalar, FontScalar);
XL = XL < MinBoxW ? MinBoxW : XL; KillsXPos = AssistXPos - (XL < MinBoxW ? MinBoxW : XL);
KillsXPos = AssistXPos - XL;
Canvas.TextSize(class'KFGFxHUD_ScoreboardWidget'.default.DoshString$" ", XL, YL, FontScalar, FontScalar); Canvas.TextSize(class'KFGFxHUD_ScoreboardWidget'.default.DoshString$" ", XL, YL, FontScalar, FontScalar);
XL = XL < MinBoxW ? MinBoxW : XL; CashXPos = KillsXPos - (XL < MinBoxW ? MinBoxW : XL);
CashXPos = KillsXPos - XL;
StatusWBox = PlayerXPos - RankXPos; StatusWBox = PlayerXPos - RankXPos;
PlayerWBox = PerkXPos - PlayerXPos; PlayerWBox = PerkXPos - PlayerXPos;