Yes its in the same folder as the rest of the files that will be used.
But this fallowing code saves and loads game while game started:
Test code:
while(level_load)
{
if(key_9 == 1){game_save("main", 1, SV_ALL);}
if(key_8 == 1){game_load("main",1);}
wait(1);
}
As you can see, I can save game by pressing 9 key and loading it by pressing 8 key, it works during game run.
I can even save game on contact with entity and by clicking on save_pan in main menu but I have to load the game by pressing 8 key after game started(new game starts) to successfully game_load.
If I try to game_load by click on a load_game_pan button or any other way I get lots of errors when trying to load game before game starts. Pretty much a new game has to start first every time and then only then if try to game_load then it's successful.
How can I fix this?