Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 12,420 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
sample script of save and load game #381367
08/27/11 02:53
08/27/11 02:53
Joined: Apr 2011
Posts: 36
M
marvz Offline OP
Newbie
marvz  Offline OP
Newbie
M

Joined: Apr 2011
Posts: 36
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!

Re: sample script of save and load game [Re: marvz] #381373
08/27/11 07:55
08/27/11 07:55
Joined: Apr 2008
Posts: 650
Sajeth Offline
User
Sajeth  Offline
User

Joined: Apr 2008
Posts: 650
void savegame()
{
game_save("svgm",1,SV_ALL);
}

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

somewhere in main():
on_f1=savegame;
on_f2=loadgame;


Teleschrott-Fan.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1