08.07.2010, 12:52
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.
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.