sample script of save and load game

Posted By: marvz

sample script of save and load game - 08/27/11 02:53

guys, help me to have a sample script of how to save and load game.. plz.. This is all I need in my game.. I can't understand what is in the manual so I'm try to look for a sample script from you guys.. plz help me!
Posted By: Sajeth

Re: sample script of save and load game - 08/27/11 07:55

void savegame()
{
game_save("svgm",1,SV_ALL);
}

void loadgame()
{
game_load("svgm",1);
}

somewhere in main():
on_f1=savegame;
on_f2=loadgame;
© 2024 lite-C Forums