loading with Y_INI
#1

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
Reply
#2

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.
Reply
#3

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

EDIT: Tested and no difference.
Reply
#4

a little bump *cough
Reply
#5

moar bump
Reply
#6

HEY ANOTHER BUMP!!!
Reply
#7

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
Reply
#8

no idea
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)