02.08.2010, 20:26
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.
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!
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]
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!