Create3DTextLabel problem
#1

Hey! I have a problem. If i buy a house the Create3DTextLabel don't change.
pawn Код:
new Text3D:housesale
new Text3D:houseinfo
for(new h = 0; h < sizeof(HouseInfo); h++)
    {
        if(HouseInfo[h][hOwned] == 0)
        {
            format(string4, sizeof(string4), "%s\nSale: %d Saki",HouseInfo[h][hDiscription],HouseInfo[h][hValue]);
            housesale = Create3DTextLabel(string4,0xF9A406FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],15,0,1);
        }
        else if(HouseInfo[h][hOwned] == 1)
        {

            format(string4, sizeof(string4), "%s\n Owner: %s",HouseInfo[h][hDiscription], HouseInfo[h][hOwner]);
            houseinfo = Create3DTextLabel(string4,0xF9A406FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],15,0,1);
        }
    }
I have tried Delete3DTextLabel in cmds like that /buyhouse and /sellhouse. I have got that when i use the buy cmd then the housesale do not delete and the i have two Create3DTextLabel. I somebody can me help the i will be happy. But now it is fucked up :S
Reply


Messages In This Thread
Create3DTextLabel problem - by Matu- - 20.07.2011, 22:41
Re: Create3DTextLabel problem - by Matu- - 21.07.2011, 19:33
Re: Create3DTextLabel problem - by Matu- - 24.07.2011, 10:59
Re: Create3DTextLabel problem - by iggy1 - 24.07.2011, 11:18
Re: Create3DTextLabel problem - by Matu- - 25.07.2011, 01:06
Re: Create3DTextLabel problem - by =WoR=Varth - 25.07.2011, 01:47

Forum Jump:


Users browsing this thread: 2 Guest(s)