3D Label Text Error
#1

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. ]
Reply
#2

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.
Reply
#3

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
Reply
#4

Yea I noticed it and edited it before you posted
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)