[Help] 3DTextLabels
#3

pawn Код:
new BizText[256];
            if(BizInfo[b][bOwned] == 0)
            {
                BizInfo[b][bPickup] = CreatePickup(1274, 1, BizInfo[b][bEntrancex], BizInfo[b][bEntrancey], BizInfo[b][bEntrancez]);
                format(BizText, sizeof(BizText), "[%s]\n[Business Price: $%d]\n[%s]", BizInfo[b][bName], BizInfo[b][bPrice], BizType[BizInfo[b][bType]]);
                BizInfo[b][bLabel] = Create3DTextLabel(BizText, COLOR_WHITE/*0x88EE88FF*/, BizInfo[b][bEntrancex], BizInfo[b][bEntrancey], BizInfo[b][bEntrancez]+0.82, 20.0, 0, 1);
            }
            else if(BizInfo[b][bOwned] == 1)
            {
                BizInfo[b][bPickup] = CreatePickup(1318, 1, BizInfo[b][bEntrancex], BizInfo[b][bEntrancey], BizInfo[b][bEntrancez]);
                format(BizText, sizeof(BizText), "[%s]\n[%s]\n[%s]", BizInfo[b][bName], BizInfo[b][bOwner], BizType[BizInfo[b][bType]]);
                BizInfo[b][bLabel] = Create3DTextLabel(BizText, COLOR_WHITE /*0x5D9BFFBC*/, BizInfo[b][bEntrancex], BizInfo[b][bEntrancey], BizInfo[b][bEntrancez]+0.82, 20.0, 0, 1);
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
[Help] 3DTextLabels - by Maxips2 - 17.07.2010, 17:31
Re: [Help] 3DTextLabels - by AcId n RaPiD - 17.07.2010, 18:24
Re: [Help] 3DTextLabels - by Maxips2 - 17.07.2010, 18:26

Forum Jump:


Users browsing this thread: 1 Guest(s)