CreateDynamic3DTextLabel help
#1

Okay, When I am close it shows how I want it, when I walk back it all goes into one, how to fix this?

SS of what I see.
Close

Far



My code for this

Код:
		BusText1 = CreateDynamic3DTextLabel("A-RP Administrator", COLOR_RED, 0, 0, -20, 25, playerid);
		BusText2 = CreateDynamic3DTextLabel("GOD", COLOR_WHITE, 0, 0, -20, 19, playerid);
		BusText3 = CreateDynamic3DTextLabel("Server Creator", COLOR_BLUE, 0, 0, -20, 13, playerid);
		Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, BusText1 , E_STREAMER_ATTACH_OFFSET_Z, 0.25);
		Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, BusText2 , E_STREAMER_ATTACH_OFFSET_Z, 0.19);
		Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, BusText3 , E_STREAMER_ATTACH_OFFSET_Z, 0.13);
Reply
#2

This is because the 3D text labels change with distance.

Try creating a 3dtext label and attaching it to the player.
Reply
#3

Hmm.. How would I do this?
Reply
#4

pawn Код:
Attach3DTextLabelToPlayer(Text3D:id, playerid, Float:OffsetX, Float:OffsetY, Float:OffsetZ);
Reply
#5

For the 'id' what would I put? and for 'playerid'?

or better could you do a basic example for me? I am still kinda new to scripting
Reply
#6

Quote:
Originally Posted by MichaelWharton101
Посмотреть сообщение
For the 'id' what would I put? and for 'playerid'?
You need to define a new Text3D at the top of your script.

pawn Код:
new Text3D:myText;
This is your 'id'.

For the playerid, use "playerid" when attaching it to the player that your attaching it to.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)