[SOLVED]Whats wrong with my code?
#1

Hey!

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:

Код:
stock CreateHouse(houseid, Street[], HouseNumber, Float:iconX, Float:iconY, Float:iconZ, Float:interiorX, Float:interiorY, Float:interiorZ, Cost, Sell, Interior, virtualworld)
    {
Code that sets House Number:

Код:
HouseDB[houseid][HNumber]=HouseNumber;
Code that shows on Text Label:

Код:
format(text,sizeof(text),"%s Street\n%i",HouseDB[houseid][St],HouseDB[houseid][HNumber]);
            Create3DTextLabel(text,0x008080FF,iconX,iconY, iconZ,10.0,0);
On Label it shows Streets names, but on House Numbers it shows number 177, even if it set to 1...

No errors, no warnings
Reply
#2

SOLVED by my self
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)