mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
fix 14.60 + "cheat pausesafezone"
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include "reboot.h"
|
||||
#include "FortPlayerControllerAthena.h"
|
||||
#include "KismetSystemLibrary.h"
|
||||
|
||||
bool IsOperator(APlayerState* PlayerState, AFortPlayerController* PlayerController)
|
||||
{
|
||||
@@ -265,6 +266,10 @@ void ServerCheatHook(AFortPlayerControllerAthena* PlayerController, FString Msg)
|
||||
Pawn->SetHealth(Health);
|
||||
SendMessageToConsole(PlayerController, L"Set health!\n");
|
||||
}
|
||||
else if (Command == "pausesafezone")
|
||||
{
|
||||
UKismetSystemLibrary::ExecuteConsoleCommand(GetWorld(), L"pausesafezone", nullptr);
|
||||
}
|
||||
else if (Command == "testspawn")
|
||||
{
|
||||
auto Pawn = Cast<APawn>(ReceivingController->GetPawn());
|
||||
|
||||
Reference in New Issue
Block a user