How to enable testLOS - 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: How to enable testLOS (
/showthread.php?tid=599298)
How to enable testLOS -
SystemX - 24.01.2016
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?
Re: How to enable testLOS -
d1git - 24.01.2016
Take a look at the parameters for the
Create3dTextLabel function.
PHP код:
Create3dTextLabel(text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS)
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.
Re: How to enable testLOS -
FreAkeD - 24.01.2016
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
Re: How to enable testLOS -
SystemX - 24.01.2016
Virtual Parameter is not -1, It's 569. Still its' not appearing in interiors.
EDIT: I'm using streamer plugin to make 3DTextLabels
Re: How to enable testLOS -
FreAkeD - 24.01.2016
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.
Re: How to enable testLOS -
SystemX - 24.01.2016
Ah, I got it huh.. I actually exchanged Interior and VirtualWorld Values.