SA-MP Forums Archive
loading with Y_INI - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: loading with Y_INI (/showthread.php?tid=395405)



loading with Y_INI - cosbraa - 26.11.2012

Not too sure on what is wrong here, so all help is appreciated.
It will save my houses properly, but loading them does not work.
Here is my LoadHouses stock and my LoadHouse_data callback/function.

http://pastebin.com/rdXk2aNZ


Re: loading with Y_INI - Frant1kz - 26.11.2012

First thing i managed to find was:

pawn Код:
for(new i = 1; i < MAX_HOUSES; i++)
The loop is counting from 1 > up. Try:


pawn Код:
for(new i = 0; i < MAX_HOUSES; i++)
And see what happens.


Re: loading with Y_INI - cosbraa - 26.11.2012

That would be because I don't want any ID 0 houses.

EDIT: Tested and no difference.


Re: loading with Y_INI - cosbraa - 26.11.2012

a little bump *cough


Re: loading with Y_INI - cosbraa - 27.11.2012

moar bump


Re: loading with Y_INI - cosbraa - 28.11.2012

HEY ANOTHER BUMP!!!


Re: loading with Y_INI - Glad2BeHere - 28.11.2012

To my knowledge its just incomplete house system and alot of errors in the making it is not 100% u should watch around for ideas https://sampforum.blast.hk/showthread.php?tid=256224, download it and press "crtl + f" find and look for "loadproperty" it is in dini but it is practically the same thing dini is like yini pratically the same so see if u understand because the errors come when making the house but atleast u will get some idea still having problems well dont worry i am working on it as well, i am just busy atm so im kinda moving slow on it but incase i cant do it fast enough atm then u maybe able to fix your problem


Re: loading with Y_INI - cosbraa - 29.11.2012

no idea