15.12.2011, 20:15
Hey!
Whats wrong?
My function:
Stock:
Code that sets House Number:
Code that shows on Text Label:
On Label it shows Streets names, but on House Numbers it shows number 177, even if it set to 1...
No errors, no warnings
Whats wrong?
My function:
Код:
CreateHouse(2, "Holy", 1, -1428.9027,-289.7404,14.1484,244.411987,305.032989,999.148437, 100,50, 1, 0);
Код:
stock CreateHouse(houseid, Street[], HouseNumber, Float:iconX, Float:iconY, Float:iconZ, Float:interiorX, Float:interiorY, Float:interiorZ, Cost, Sell, Interior, virtualworld) {
Код:
HouseDB[houseid][HNumber]=HouseNumber;
Код:
format(text,sizeof(text),"%s Street\n%i",HouseDB[houseid][St],HouseDB[houseid][HNumber]); Create3DTextLabel(text,0x008080FF,iconX,iconY, iconZ,10.0,0);
No errors, no warnings