fix restarting, add cheat teleport and help, build free and infinite ammo, fix restarting on c1,  fix some gui issues.
This commit is contained in:
Milxnor
2023-04-17 21:05:08 -04:00
parent d308c9ad91
commit 6daab8d5a2
28 changed files with 352 additions and 208 deletions

View File

@@ -1,7 +1,14 @@
#include "PlayerController.h"
#include "GameplayStatics.h"
#include "reboot.h"
UCheatManager*& APlayerController::SpawnCheatManager(UClass* CheatManagerClass)
{
GetCheatManager() = UGameplayStatics::SpawnObject<UCheatManager>(CheatManagerClass, this, true);
return GetCheatManager();
}
FRotator APlayerController::GetControlRotation()
{
static auto fn = FindObject<UFunction>(L"/Script/Engine.Controller.GetControlRotation");