09.07.2012, 15:50
Hi i am wondering how to make a file save information and load it up like this.
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.
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); |
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.