How to make a file save information and load it up like this [Dini]
#1

Hi i am wondering how to make a file save information and load it up like this.

Quote:

//I know how to do this bit
Playername = Jueix
Cash = 50000
Alevel = 5
//Need help here with doing it in there file or a new file which will save all houses etc
House1 = CreateHouse(posx,posy,posz,intx,inty,intz,price,se llprice,vw);
House2 = CreateHouse(posx,posy,posz,intx,inty,intz,price,se llprice,vw);
House3 = CreateHouse(posx,posy,posz,intx,inty,intz,price,se llprice,vw);

Basicly the idea i have is when they buy a house it makes a new line in the players save file which will = House4 = CreateHouse(posx,posy,posz,intx,inty,intz,price,se llprice,vw); when its in the save file.

What the plan is, is to allow players to have unlimited amount of houses which they can enter and sell and things. If anyone can help me do this please help thank you.
Reply


Messages In This Thread
How to make a file save information and load it up like this [Dini] - by jueix - 09.07.2012, 15:50
Re: How to make a file save information and load it up like this [Dini] - by RedJohn - 09.07.2012, 17:57
Re: How to make a file save information and load it up like this [Dini] - by jueix - 09.07.2012, 18:24
Re: How to make a file save information and load it up like this [Dini] - by RedJohn - 10.07.2012, 08:40

Forum Jump:


Users browsing this thread: 1 Guest(s)