27.11.2010, 16:28
I tried adding a new one.
But that also doesn't load the ID.
I also tried to add strval where it recieves the business ID:
That also failed.
I'm seriously out of ideas. This is really weird.
It loads everything it has to load; The interior ID, the coordinates, the name, the owner, everything except BusinessID.
I think it has to do with, the BusinessID is the same number as the file. But I had to do this so you can modify the file by standing on it, without entering the file number.
pawn Код:
BusinessData[busj][BusInfo] = dini_Int(bfile, "BusInfo");
I also tried to add strval where it recieves the business ID:
pawn Код:
strval(BusinessData[i][BusinessID]);
I'm seriously out of ideas. This is really weird.
It loads everything it has to load; The interior ID, the coordinates, the name, the owner, everything except BusinessID.
I think it has to do with, the BusinessID is the same number as the file. But I had to do this so you can modify the file by standing on it, without entering the file number.

