SA-MP Forums Archive
Dynamic 3D text labels - Mix - 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: Dynamic 3D text labels - Mix (/showthread.php?tid=478073)



Dynamic 3D text labels - Mix - feartonyb - 27.11.2013

I have like 400 labels on server and they are all dynamic and I have some kind of bug, the labels mix.

For example. On the house label it shows the speed camera label.


Re: Dynamic 3D text labels - Mix - ikbenremco - 27.11.2013

Make sure you delete the previous one when you are created another one

Any coding would be nice to.


Re: Dynamic 3D text labels - Mix - dominik523 - 27.11.2013

search your code for the loops which include text labels. I had one array for 10 ATMs and only 7 fields where used, but my loop went through 10 fields, and my labels were messed up.


Re: Dynamic 3D text labels - Mix - feartonyb - 27.11.2013

Only loops are house and biz labels, but it only creates for existing houses and bizes. No error in any of them :/


Re: Dynamic 3D text labels - Mix - ikbenremco - 27.11.2013

Show us some codes or ss's


Re: Dynamic 3D text labels - Mix - feartonyb - 27.11.2013

I have like 400 labels, not goin to put 400 lines of codes here ^^

But ex.

Code:
HouseLabel[extraid] = CreateDynamic3DTextLabel(stringhouse, 0x008080FF, Houses[extraid][EntX], Houses[extraid][EntY], Houses[extraid][EntZ], 15, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100.0);