How to enable testLOS
#1

My 3D Textlabels are not showing in interiors, I searched for it and found that I should enable 'testLOS', My question is how to enable testLOS?
Reply
#2

Take a look at the parameters for the Create3dTextLabel function.

PHP код:
Create3dTextLabel(text[], colorFloat:XFloat:YFloat:ZFloat:DrawDistancevirtualworldtestLOS
EDIT: By the way, you don't use testLOS to assign an interior, testLOS is for making it so that it is seethrough through objects.
Reply
#3

You gotta make sure that the virtualworld paramater isn't set to -1 or they wont show at all.

'If the virtualworld is set as -1 the text will not appear.'

https://sampwiki.blast.hk/wiki/Create3DTextLabel
Reply
#4

Virtual Parameter is not -1, It's 569. Still its' not appearing in interiors.

EDIT: I'm using streamer plugin to make 3DTextLabels
Reply
#5

You need to enable testLOS then.

Also, if you set the players virtual world to 0 (by default it's also set) you need to change the virtual world parameter to 0 then.

Because if you set it to say 100, it will ONLY show the label to players in that virtual world.
Reply
#6

Ah, I got it huh.. I actually exchanged Interior and VirtualWorld Values.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)