/Engine/Source/Runtime/Engine/Classes/Kismet/GameplayStatics.h
Removes a local player from this game.
static void RemovePlayer ( [APlayerController](API\Runtime\Engine\GameFramework\APlayerController) * Player, bool bDestroyPawn )