You want Save and Load your GameState ?

Code:
function load_me()
{
 game_load("test.sav",0);  
}

function save_me()
{
 game_save("test.sav",0,SV_ALL-SV_INFO-SV_STRINGS-SV_BMAPS-SV_PANELS);
}



i hope this helps