mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
a bit
added some specific playlist items, fix s8-s10 markers because i broke, fixed removing items on aircraft on every version, added thanos stone automatic spawning, fix a bug with lategame, add marshmello stage, fix multiple battle buses, fix teams on large team gamemodes, fix some items not removing automatically
This commit is contained in:
@@ -447,23 +447,7 @@ void ServerCheatHook(AFortPlayerControllerAthena* PlayerController, FString Msg)
|
||||
|
||||
CheatManager->Teleport();
|
||||
CheatManager = nullptr;
|
||||
}
|
||||
else if (Command == "setsafezonephase")
|
||||
{
|
||||
int NewSafeZonePhase = 1;
|
||||
|
||||
try { NewSafeZonePhase = std::stof(Arguments[1]); }
|
||||
catch (...) {}
|
||||
|
||||
auto GameMode = (AFortGameMode*)GetWorld()->GetGameMode();
|
||||
auto GameState = GameMode->GetGameState();
|
||||
|
||||
static auto GameMode_SafeZonePhaseOffset = GameMode->GetOffset("SafeZonePhase");
|
||||
static auto GameState_SafeZonePhaseOffset = GameState->GetOffset("SafeZonePhase");
|
||||
|
||||
GameMode->Get<int>(GameMode_SafeZonePhaseOffset) = NewSafeZonePhase;
|
||||
GameState->Get<int>(GameState_SafeZonePhaseOffset) = NewSafeZonePhase;
|
||||
SendMessageToConsole(PlayerController, L"Set safe zone phase!");
|
||||
SendMessageToConsole(PlayerController, L"Teleported!");
|
||||
}
|
||||
else if (Command == "bugitgo")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user