Cannot figure out what's wrong.
#1

I am trying to make it to update, but it dosent updates shit IG.
Even if the house has been buyed.

I am supposing that I need variable as an array, but no clue how to do it.
pawn Код:
stock Create3DHouse()
{
    for(new NewHouseID; NewHouseID<sizeof(Houses); NewHouseID++)
    {
    if(!Houses[NewHouseID][hExteriorY]) continue;
    new string[ 96 ], Text3D:Checka;
        if(strcmp(Houses[NewHouseID][hOwner], "Nobody", true) == 0)
    {
        format(string, sizeof(string), "[House] %d\n buy price: %d (/buyhouse)", NewHouseID, Houses[NewHouseID][HousePrice]);
        Checka = Create3DTextLabel(string,HOUSE_YSELL,Houses[NewHouseID][hExteriorX],Houses[NewHouseID][hExteriorY],Houses[NewHouseID][hExteriorZ],30.0,0,1);
        }
        else
        {
        format(string, sizeof(string), "[House]\n %d", NewHouseID);
        Update3DTextLabelText(Checka,HOUSE_NSELL,string);
        }
    }
    return 1;
}
Thank you .
Reply
#2

Response of you're question and your topic
http://pastebin.com/raw.php?i=SJkK7Vw6
Reply
#3

That's creating another 3DText over the previous one :
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)