Disable Cheats (APlayerController) or Disallow Cheats (AGameModeBase) ???

You can destroy the CheatManager in order to disable it.

if(PlayerController->CheatManager)
{
	PlayerController->CheatManager->ConditionalBeginDestroy();
	PlayerController->CheatManager = nullptr;
}
1 Like