Create3DTextLabel in all virtual worlds ?
#1

i want to create 3DTextLabel in all virtual worlds i try with -1 but not work :/

Create3DTextLabel("text",-1,2634.4883,1836.7533,11.0234,15.0, -1); but not work

anyone ?
Reply
#2

What saying the same thing? In the same place?
Reply
#3

I'm not sure about this, but the wiki does not state that -1 can be used. Are you sure -1 is for all worlds?
Reply
#4

Create3DTextLabel("text",-1,2634.4883,1836.7533,11.0234,15.0, GetPlayerVirtualWorld(playerid), 1);
Reply
#5

Quote:
Originally Posted by Psymetrix
Посмотреть сообщение
I'm not sure about this, but the wiki does not state that -1 can be used. Are you sure -1 is for all worlds?
yes -1 will only show me 3dtext if i am in vw -1 :/

Quote:
Originally Posted by Elmin
Посмотреть сообщение
Create3DTextLabel("text",-1,2634.4883,1836.7533,11.0234,15.0, GetPlayerVirtualWorld(playerid), 1);
Not work ...
Reply
#6

Then your best bet would be to use this streamer. You don't have to use any thing but the labels and it has virtual world support for labels.
Reply
#7

Quote:
Originally Posted by Elmin
Посмотреть сообщение
Create3DTextLabel("text",-1,2634.4883,1836.7533,11.0234,15.0, GetPlayerVirtualWorld(playerid), 1);
What the?... Please don't post if you don't know a right answer.

Код:
text[]		The initial text string.
color		The text Color
x		X-Coordinate
y		Y-Coordinate
z		Z-Coordinate
DrawDistance	The distance from where you are able to see the 3D Text Label
VirtualWorld	The virtual world in which you are able to see the 3D Text
testLOS	0/1 	Test the line-of-sight so this text can't be seen through objects
As you see here, you have used wrong arguments. The right version is actually:

pawn Код:
Create3DTextLabel("text",-1,2634.4883,1836.7533,11.0234,15.0, -1,0);
You simply forgot testLOS.
Reply
#8

Quote:
Originally Posted by Psymetrix
Посмотреть сообщение
Then your best bet would be to use this streamer. You don't have to use any thing but the labels and it has virtual world support for labels.
another way without streamer ?




Quote:
Originally Posted by Jochemd
Посмотреть сообщение
What the?... Please don't post if you don't know a right answer.

Код:
text[]		The initial text string.
color		The text Color
x		X-Coordinate
y		Y-Coordinate
z		Z-Coordinate
DrawDistance	The distance from where you are able to see the 3D Text Label
VirtualWorld	The virtual world in which you are able to see the 3D Text
testLOS	0/1 	Test the line-of-sight so this text can't be seen through objects
As you see here, you have used wrong arguments. The right version is actually:

pawn Код:
Create3DTextLabel("text",-1,2634.4883,1836.7533,11.0234,15.0, -1,0);
You simply forgot testLOS.
Thanks for replay but parameter -1 for virtual worlds not work :@
Reply
#9

-1 is a valid virtual world so I understand why it doesn't wok.
Using that streamer is the only way I can think of without creating your own. Sorry.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)