3D Text Label above the head -
rhds - 31.03.2013
On very top
pawn Код:
new Text3D:mylabel[MAX_PLAYERS];
OnPlayerConnect
pawn Код:
mylabel[playerid] = CreateDynamic3DTextLabel("My text", White, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(mylabel[playerid], playerid, 0.0, 0.0, 0.3);
OnPlayerDisconnect
pawn Код:
DestroyDynamic3DTextLabel(mylabel[playerid]);
Why is nothing appearing? (Testing with 2 players)
Re: 3D Text Label above the head -
ACI - 31.03.2013
[If you mean that WHY cant I see the 3D text label above my head]:
You can't see the 3D text on your head but other players can see it.
Re: 3D Text Label above the head -
rhds - 31.03.2013
Quote:
Originally Posted by ACI
[If you mean that WHY cant I see the 3D text label above my head]:
You can't see the 3D text on your head but other players can see it.
|
It's being tested with 2 players.
Re: 3D Text Label above the head -
Neil. - 31.03.2013
Try to Replace
CreateDynamic3DTextLabel with
Create3DTextLabel
Also the streamer use DestroyDynamic3DTextLabel not Destroy3DTextLabel
Re: 3D Text Label above the head -
ACI - 31.03.2013
pawn Код:
new Text3D:test = Create3DTextLabel("Test success!\n Thanks to ACI!", 0x00BFFFAA, 30.0, 40.0, 50.0, 40.0, 0); //Put this at the top.
Attach3DTextLabelToPlayer(test, playerid, 0.0, 0.0, 0.7); // And put this where you want.
Re: 3D Text Label above the head -
rhds - 31.03.2013
Putting this at top
pawn Код:
new Text3D:test = Create3DTextLabel("Test success!\n Thanks to ACI!", 0x00BFFFAA, 30.0, 40.0, 50.0, 40.0, 0);
crashes whole Pawno.
Re: 3D Text Label above the head -
Riddick94 - 31.03.2013
Show your white macro. Because if it's clear white you can't see the label. Probably, you know that, if you set your colour to WHITE, you will not be visible on radar.
Re: 3D Text Label above the head -
rhds - 31.03.2013
Quote:
Originally Posted by Riddick94
Show your white macro. Because if it's clear white you can't see the label. Probably, you know that, if you set your colour to WHITE, you will not be visible on radar.
|
It's white indeed
Re: 3D Text Label above the head -
Neil. - 31.03.2013
pawn Код:
//Put this on top.
new Text3D:playertext[MAX_PLAYERS];
//OnPlayerConnect
playertext[playerid] = Create3DTextLabel("Your Text", WHITE, 30.0, 40.0, 50.0, 40.0, 0);
Re: 3D Text Label above the head -
Riddick94 - 31.03.2013
Quote:
Originally Posted by rhds
|
Try to use different color. If you're using that one, your label will be created but not visible.