[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


Messages In This Thread
[SOLVED]Whats wrong with my code? - by lukas567 - 15.12.2011, 20:15
Re: Whats wrong with my code? - by lukas567 - 15.12.2011, 20:27

Forum Jump:


Users browsing this thread: 1 Guest(s)