3DTextLabel not showing.
#1

Alright, when I /createbiz the textdraw does not appear. But when I load the textlabels ongamemodeinit it appears in game and I can update them, etc. How do I make it so it instantly appears when I /createbiz?

Here's my code in my /createbiz command.

pawn Код:
format(string,sizeof(string),""COL_BROWN"Owner: None\nPrice: %d\nBusiness type: %s\nStreet Number: %d", BusinessInfo[id][bPrice], biztext, id);
    BusinessInfo[id][DLabel] = Create3DTextLabel(string, 0xFFFFFF, BusinessInfo[id][bEntranceX],BusinessInfo[id][bEntranceY],BusinessInfo[id][bEntranceZ], 10.0, 0, 0);
    Update3DTextLabelText(BusinessInfo[id][DLabel], 0xFFFFFFFF, string);
Reply
#2

Are you in the same virtual world 0 ?
Reply
#3

Yes. When I restart the server they appear.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)