3D Text Labels not showing up randomly - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 3D Text Labels not showing up randomly (
/showthread.php?tid=154695)
3D Text Labels not showing up randomly -
MisterTickle - 15.06.2010
For some reason, 3D text labels tend to show up "sometimes" when I create businesses or when the server restart. At one point they worked 100% fine now its when they feel like it.
Biz[name][Text3DHandle] = Create3DTextLabel(bizname,COLOR_ORANGE, Biz[name][EnterX],Biz[name][EnterY],Biz[name][EnterZ],40.0,0);
and on GameModeInit
Biz[i][Text3DHandle] = Create3DTextLabel(Biz[i][BizName],COLOR_ORANGE, Biz[i][EnterX],Biz[i][EnterY],Biz[i][EnterZ],40.0,0);
Re: 3D Text Labels not showing up randomly -
Grim_ - 15.06.2010
We're gonna need more code than that.
Re: 3D Text Labels not showing up randomly -
MisterTickle - 15.06.2010
Like what? Theirs only one line needed to create a 3D text draw.
Re: 3D Text Labels not showing up randomly -
Grim_ - 15.06.2010
Like how you are setting the data into the array. Like, Biz[name][EnterX], etc. to make sure you are loading the coordinates into the array before attempting to create the label.
Re: 3D Text Labels not showing up randomly -
MisterTickle - 15.06.2010
I am indeed, As I said it works sometimes which is the odd part.
Re: 3D Text Labels not showing up randomly -
Grim_ - 15.06.2010
Quote:
Originally Posted by MisterTickle
I am indeed, As I said it works sometimes which is the odd part.
|
Ah, so it's different ones not showing up at different times or is it the same ones that occasionally don't show up?
Re: 3D Text Labels not showing up randomly -
MisterTickle - 15.06.2010
Lets say I create a few businesses, They may show but than randomly BOOM for no reason stop, Or they may not show at all.