Simple House's script?
#1

Hi all,
I have been looking around the forum, and found no house script which is easily understandable nor editable in a simple fashion (looking at them from a noobish point of view, no offence to those of you). I would like to make one, however i dont know where to start, i understand all of the others, and see where there going, they just dont really make much sense.

The houses will be in an enum'ed' array.

pawn Код:
enum HousesInfo {houseid, x, y, z, tx, ty, tz, virtual, interior}
new Houses[][HousesInfo] = {
{0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1, 2} //EXAMPLE - Obviously :)
};

CreatePickup(model, type, Houses[i][HouseInfo]
And so on and so on, but my big question is... (Dun Dun Dum!)
How can i read the houses that have been bought in dini? I know how to save, open, create, delete files in DINI, however i have no knowledge of getting this information from a file with dini. This is all i really need to know, hopefully i will be releasing this script with detailed and basic editing techniques avaliable.

Thanks
Ash!
Reply


Messages In This Thread
Simple House's script? - by Ash. - 02.08.2010, 20:26
Re: Simple House's script? - by Kar - 02.08.2010, 20:40
Re: Simple House's script? - by Joe_ - 02.08.2010, 20:47
Re: Simple House's script? - by Ash. - 03.08.2010, 08:42
Re: Simple House's script? - by Joe_ - 03.08.2010, 12:51

Forum Jump:


Users browsing this thread: 4 Guest(s)