Failed to find the game please launch it. Report this if the issue persists code 4

I have a pirated version of the game and I get this error. although my friend is fine and we all downloaded together.HELP PLEASE!!!

Hello, This is because your game is pirated and was not installed via the normal means.
As such BeamMP struggles to find it. You will need to start the game manually after starting BeamMP.

I advise you to consider supporting the developers of the game if you enjoy it by purchasing the game via one of the legitimate routes.