SA-MP Forums Archive
3DTextLabel not showing. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 3DTextLabel not showing. (/showthread.php?tid=474504)



3DTextLabel not showing. - Chrillzen - 08.11.2013

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);



Re: 3DTextLabel not showing. - Voxel - 08.11.2013

Are you in the same virtual world 0 ?


Re: 3DTextLabel not showing. - Chrillzen - 08.11.2013

Yes. When I restart the server they appear.