Tutorials outdated?

Thanks for the help, here’s my new code:

FPSGameMode.h


#include "GameFramework/GameMode.h"
#include "FPSGameMode.generated.h"

UCLASS()
class FPSPROJECT_API AFPSGameMode : public AGameMode {
public:
	GENERATED_UCLASS_BODY()
	AFPSGameMode(const class FObjectInitializer& PCIP);

	virtual void StartPlay() override;
};


FPSGameMode.cpp



#include "FPSProject.h"
#include "FPSGameMode.h"

AFPSGameMode::AFPSGameMode(const class FObjectInitializer& PCIP) : Super(PCIP) {
	
}

void AFPSGameMode::StartPlay() {
	Super::StartPlay();

	StartMatch();

	if (GEngine)
	{
		GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Yellow, TEXT("HELLO WORLD"));
	}
}


Edit: Never mind, no more errors. Fixed as said below.