wip
This commit is contained in:
parent
28a8b0d4ff
commit
1f8df8d1eb
@ -455,34 +455,37 @@ public function IncreaseXPBoost(KFPlayerController Booster)
|
|||||||
PlayerBoost = PlayerXPBoost(BoosterRepInfo);
|
PlayerBoost = PlayerXPBoost(BoosterRepInfo);
|
||||||
PlayerBoostStr = String(PlayerBoost);
|
PlayerBoostStr = String(PlayerBoost);
|
||||||
|
|
||||||
if (XPBoost >= CfgXPBoost.default.MaxBoost)
|
if (XPNotifications)
|
||||||
{
|
{
|
||||||
BroadcastChatLocalized(
|
if (XPBoost >= CfgXPBoost.default.MaxBoost)
|
||||||
MSKGS_PlayerGiveBoostToServerMax,
|
{
|
||||||
HexColor,
|
BroadcastChatLocalized(
|
||||||
None,
|
MSKGS_PlayerGiveBoostToServerMax,
|
||||||
BoosterName,
|
HexColor,
|
||||||
PlayerBoostStr,
|
None,
|
||||||
String(CfgXPBoost.default.MaxBoost));
|
BoosterName,
|
||||||
}
|
PlayerBoostStr,
|
||||||
else if (PlayerBoost == XPBoost)
|
String(CfgXPBoost.default.MaxBoost));
|
||||||
{
|
}
|
||||||
BroadcastChatLocalized(
|
else if (PlayerBoost == XPBoost)
|
||||||
MSKGS_PlayerGiveBoostToServerFirst,
|
{
|
||||||
HexColor,
|
BroadcastChatLocalized(
|
||||||
None,
|
MSKGS_PlayerGiveBoostToServerFirst,
|
||||||
BoosterName,
|
HexColor,
|
||||||
TotalBoostStr);
|
None,
|
||||||
}
|
BoosterName,
|
||||||
else
|
TotalBoostStr);
|
||||||
{
|
}
|
||||||
BroadcastChatLocalized(
|
else
|
||||||
MSKGS_PlayerGiveBoostToServer,
|
{
|
||||||
HexColor,
|
BroadcastChatLocalized(
|
||||||
None,
|
MSKGS_PlayerGiveBoostToServer,
|
||||||
BoosterName,
|
HexColor,
|
||||||
PlayerBoostStr,
|
None,
|
||||||
TotalBoostStr);
|
BoosterName,
|
||||||
|
PlayerBoostStr,
|
||||||
|
TotalBoostStr);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -501,31 +504,34 @@ public function DecreaseXPBoost(Controller Booster)
|
|||||||
BoosterName = Booster.PlayerReplicationInfo.PlayerName;
|
BoosterName = Booster.PlayerReplicationInfo.PlayerName;
|
||||||
TotalBoost = String(XPBoost);
|
TotalBoost = String(XPBoost);
|
||||||
|
|
||||||
if (XPBoost >= CfgXPBoost.default.MaxBoost)
|
if (XPNotifications)
|
||||||
{
|
{
|
||||||
BroadcastChatLocalized(
|
if (XPBoost >= CfgXPBoost.default.MaxBoost)
|
||||||
MSKGS_BoosterLeaveServerMax,
|
{
|
||||||
HexColor,
|
BroadcastChatLocalized(
|
||||||
Booster,
|
MSKGS_BoosterLeaveServerMax,
|
||||||
BoosterName,
|
HexColor,
|
||||||
String(CfgXPBoost.default.MaxBoost));
|
Booster,
|
||||||
}
|
BoosterName,
|
||||||
else if (XPBoost > 0)
|
String(CfgXPBoost.default.MaxBoost));
|
||||||
{
|
}
|
||||||
BroadcastChatLocalized(
|
else if (XPBoost > 0)
|
||||||
MSKGS_BoosterLeaveServer,
|
{
|
||||||
HexColor,
|
BroadcastChatLocalized(
|
||||||
Booster,
|
MSKGS_BoosterLeaveServer,
|
||||||
BoosterName,
|
HexColor,
|
||||||
TotalBoost);
|
Booster,
|
||||||
}
|
BoosterName,
|
||||||
else
|
TotalBoost);
|
||||||
{
|
}
|
||||||
BroadcastChatLocalized(
|
else
|
||||||
MSKGS_BoosterLeaveServerNoBoost,
|
{
|
||||||
HexColor,
|
BroadcastChatLocalized(
|
||||||
Booster,
|
MSKGS_BoosterLeaveServerNoBoost,
|
||||||
BoosterName);
|
HexColor,
|
||||||
|
Booster,
|
||||||
|
BoosterName);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user