15.07.2013, 11:12
Okay so I just fixed the error, and houses can be created again!
but that leads to another problem; the dynamic 3d textdraws won't be created:
I did a printf to see the content of the string which was good.
I did another printf to see the content of "HouseInfo[newhouse][hTextID]" which was in the console just a smiley, so it appears to be empty..
but that leads to another problem; the dynamic 3d textdraws won't be created:
pawn Код:
format(string, sizeof(string), "House: ID %d\n FOR SALE\nPrice: %d", newhouse, price);
HouseInfo[newhouse][hTextID] = CreateDynamic3DTextLabel(string, COLOR_GREEN, HouseInfo[newhouse][EntranceX], HouseInfo[newhouse][EntranceY], HouseInfo[newhouse][EntranceZ]+0.5,30.0, .testlos = 1, .streamdistance = 30);
I did another printf to see the content of "HouseInfo[newhouse][hTextID]" which was in the console just a smiley, so it appears to be empty..