[HELP] Create3DTextLabel -
Serialflood - 03.07.2011
Hello,
I've a problem with 3DTextLabel.
The problem is that when I'm in game it doesn't show me the 3DTextLabels
P.s.: When I compile the GM , it doesn't give me errors or warnings!
An example of a string taken from my GM :
Код:
Create3DTextLabel("City Hall", 0xFFFFFFFF, 2131.8508,-1151.3190,24.0610, 30, 0, 0);
Sorry for my bad English!
-
Cody9611 - 03.07.2011
Try
Код:
Create3DTextLabel("City Hall", 0xFFFFFFFF, 2131.8508,-1151.3190,24.0610, 30, 10, 1);
Here ::
https://sampwiki.blast.hk/wiki/CreatePlayer3DTextLabel
There is a little bit of info on how to use it
Re: [HELP] Create3DTextLabel -
Serialflood - 03.07.2011
"10" is the interior, I think. In fact it doesn't work з__з
Re: [HELP] Create3DTextLabel -
Mean - 03.07.2011
pawn Код:
Create3DTextLabel( "City Hall", 0xFFFFFFFF, 2131.8508,-1151.3190,24.0610, 50.0, 0 ); // TestLOS is optional, so this code should work.
Re: [HELP] Create3DTextLabel -
Serialflood - 03.07.2011
Doesn't work!
Re: [HELP] Create3DTextLabel -
Mean - 03.07.2011
At what virtual world is your gamemode? Maybe that's the problem.
EDIT: Try:
pawn Код:
Create3DTextLabel( "City Hall", 0xFFFFFFFF, 2131.8508,-1151.3190,24.0610, 50.0, -1 );
Re: [HELP] Create3DTextLabel -
Jakku - 03.07.2011
Parameters of Create3DTextLabel:
Код:
(text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS)
->>
Create3DTextLabel("City Hall", 0xFFFFFFFF, 2131.8508,-1151.3190,24.0610, 30, 0, 0);
Is this 3D label meant to be shown in a different virtual world? If yes, change the first "0" to your virtual world ID. Should fix the problem
Re: [HELP] Create3DTextLabel -
Mean - 03.07.2011
Quote:
Originally Posted by Jakku
Parameters of Create3DTextLabel:
Код:
(text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS)
->>
Create3DTextLabel("City Hall", 0xFFFFFFFF, 2131.8508,-1151.3190,24.0610, 30, 0, 0);
Is this 3D label meant to be shown in a different virtual world? If yes, change the first "0" to your virtual world ID. Should fix the problem
|
TestLOS is optional, and I had some problems when setting it to 0, so I just removed the param, and it worked for me.
The problem is the VirtualWorld probably.
Re: [HELP] Create3DTextLabel -
Jakku - 03.07.2011
Quote:
Originally Posted by Mean
The problem is the VirtualWorld probably.
|
That's what I just said. TestLOS configures that can the label be seen through objects, not anything else. It shouldn't cause any problems.