Destroy 3dtext help
#4

PHP код:
public OnPropTextdrawUpdate(updateid)
{
    if(
update == 1)
    {
        for(new 
0sizeof(HouseInfo); h++)
        {
            if(
HouseInfo[h][hOwned] == 0)
            {
                new 
hnxx[256];
                
format(hnxxsizeof(hnxx), ""WHITE"[NA PRODAJU]\n"GREEN"Cena: "WHITE"$ %d\n"GREEN"Potreban Level: "WHITE"%d\n"GREEN"Opis: "WHITE"%s\n"GREEN"Da kupite kucajte "WHITE"/buyhouse",HouseInfo[h][hValue],HouseInfo[h][hLevel],HouseInfo[h][hDiscription]);
                            
Delete3DTextLabel(housesale);
                
housesale Create3DTextLabel(hnxx,COLOR_GREEN,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,15,0,1);
                
AddStaticPickup(12732HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
                
pickups++;
            }
            if(
HouseInfo[h][hOwned] == 1)
            {
                new 
hnxxx[256];
                
format(hnxxxsizeof(hnxxx), ""GREEN"Vlasnik: "GREEN"%s\n"GREEN"Opis: "WHITE"%s\n"GREEN"Potreban Level: "WHITE"%d\n"GREEN"Rent: "WHITE"%s\n"GREEN"Interier: "GREEN"%d",HouseInfo[h][hOwner],HouseInfo[h][hDiscription],HouseInfo[h][hLevel],HouseInfo[h][hRent],HouseInfo[h][hInt]);
                            
Delete3DTextLabel(housesale);
                
housesalee Create3DTextLabel(hnxxx,COLOR_GREEN,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,15,0,1);
                
AddStaticPickup(13182HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
                
pickups++;
            }
        }
    }
    return 
1;

Reply


Messages In This Thread
Destroy 3dtext help - by Kolten - 22.02.2012, 20:22
Re: Destroy 3dtext help - by IceCube! - 22.02.2012, 20:26
Re: Destroy 3dtext help - by Kolten - 22.02.2012, 20:28
Re: Destroy 3dtext help - by BRICS - 22.02.2012, 20:30
Re: Destroy 3dtext help - by Kolten - 22.02.2012, 20:48
Re: Destroy 3dtext help - by Kolten - 23.02.2012, 16:34

Forum Jump:


Users browsing this thread: 1 Guest(s)