Why doesn't it attach (3DLabelText)
#1

pawn Код:
format(string, sizeof(string), "HOHO : %s [NOOB]~n~%d", name, Okay[playerid]);
label[playerid] = Create3DTextLabel(string, Lightblue,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.7);
amidoingitwrong?

NO ERRORS IT JUST WON'T ATTACH >.>
Reply
#2

Interesting. Are you sure label has the Text3D: beginning?
Reply
#3

Yes :
pawn Код:
new Text3D:label[MAX_PLAYERS];
Reply
#4

I think that the 3D TextLabels are fucked since 0.3b
Reply
#5

Your arguments do not match with the amount found here: https://sampwiki.blast.hk/wiki/Create3DTextLabel

Also you could try creating the 3D text label at the players position (using GetPlayerPos), then attaching it.
Reply
#6

Your missing the virtual world from what I see.
Reply
#7

Tried everything to the GetPlayerPos and stuff.
Still no >.>

I even tried putting in testLOS.
IDK what's wrong D:

@willsuckformoney I didn't miss it.
Reply
#8

Does it create the textlabel? Also where do you have that piece of code at?
Reply
#9

Do you still see the 3D Text Label even though it doesn't attach to the player?

- Make sure the player is not in a different virtual world than the 3D Text Label was created in

I've personally never attempted to use special symbols in 3D Text (~n~/~r~/etc), so try taking those out for one test and see if that changes anything.
Reply
#10

pawn Код:
format(string, sizeof(string), "HOHO : %s [NOOB]\n%d", name, Okay[playerid]);
label[playerid] = Create3DTextLabel(string, Lightblue,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.7);
Attempt that.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)