mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
a bit
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user