3D Label Text Error - 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 Label Text Error (
/showthread.php?tid=154964)
3D Label Text Error -
||.Rier.|| - 16.06.2010
Well, I make this for fun.
This is the code
Код:
Create3DTextLabel("FORT CARSON\nTURN LEFT",0xFFFFFFAA,-105.4672,1265.4047,16.1873,0);
I think it is correct.
Can someone help me?
Thanks!
[ I know I am really bad at scripting. I'm better in Mapping. ]
Re: 3D Label Text Error -
DJDhan - 16.06.2010
You missed out the "testLOS" and the virtual world too.
So it should be
Код:
Create3DTextLabel("FORT CARSON\nTURN LEFT",0xFFFFFFAA,-105.4672,1265.4047,16.1873,10,0,0);
The last paramter is called "testLOS" which means if you set it to 1, the label won't be visible through buildings and 0 for the opposite.
Create3DTextLabel @ WIKI
Also, you set the draw distance to 0. It won't be visible until you set it greater than 0 or possibly it will be if you are too close.
Re: 3D Label Text Error -
Naxix - 16.06.2010
Quote:
Originally Posted by DJDhan
You missed out the "testLOS" .
So it should be
Код:
Create3DTextLabel("FORT CARSON\nTURN LEFT",0xFFFFFFAA,-105.4672,1265.4047,16.1873,0,0);
The last paramter is called "testLOS" which means if you set it to 1, the label won't be visible through buildings and 0 for the opposite.
Create3DTextLabel @ WIKI
|
He needs the draw distance also.
Код:
Create3DTextLabel("FORT CARSON\nTURN LEFT",0xFFFFFFAA,-105.4672,1265.4047,16.1873,The range you should be able to see it from,0,0);
https://sampwiki.blast.hk/wiki/Create3DTextLabel
Re: 3D Label Text Error -
DJDhan - 16.06.2010
Yea I noticed it and edited it before you posted