[Help] Loading Houses from a .ini file
#1

Alright, I've started working on a house system.
I've created a public for it, the public's job is to load houses details (XYZ, Owner and shit)
the thing is that its loading the same house all over and over.
I mean that it loads the exact amount that I want (using loops) but its loading the same house
it means that it creates the same house at the same XYZ, with the same owner, same lock and stuff like that
this is how the loop goes:

new file[128];
format(file, 128, "LVRP/Properties/Houses/Houses.ini");
for(new h = 1; h < sizeof(HouseInfo); h++)

(Couldn't QUOTE it, dunno why)
Anyway, if you need any further details about that public, I will give it to you.
Reply


Messages In This Thread
[Help] Loading Houses from a .ini file - by Maxips2 - 08.07.2010, 12:52
Re: [Help] Loading Houses from a .ini file - by Maxips2 - 08.07.2010, 14:01
Re: [Help] Loading Houses from a .ini file - by CAR - 08.07.2010, 14:05
Re: [Help] Loading Houses from a .ini file - by Maxips2 - 08.07.2010, 14:07
Re: [Help] Loading Houses from a .ini file - by RichyB - 08.07.2010, 14:10
Re: [Help] Loading Houses from a .ini file - by CAR - 08.07.2010, 14:11
Re: [Help] Loading Houses from a .ini file - by Maxips2 - 08.07.2010, 14:14
Re: [Help] Loading Houses from a .ini file - by TouR - 08.07.2010, 14:18
Re: [Help] Loading Houses from a .ini file - by Maxips2 - 08.07.2010, 14:18
Re: [Help] Loading Houses from a .ini file - by CAR - 08.07.2010, 14:22

Forum Jump:


Users browsing this thread: 3 Guest(s)