3d label doesn't show
#1

Код:
   new Text3D:Nick, name[24];
   GetPlayerName(playerid, name, 24);
   Nick = Create3DTextLabel(name, 0xFFFFFFFF, 0.0, 0.0, 0.0, 25.0, 0, 1));
   Attach3DTextLabelToPlayer(Nick, playerid, 0.0, 0.0, 0.3);
Players names should appear above players head but nothing happens. Used in OnPlayerSpawn.
Reply
#2

Did you just test it with yourself?.
You cannot see the 3d text label if its attach to you.
Reply
#3

pawn Код:
new Text3D:name, pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
name = = Create3DTextLabel(pname, 0xFFFFFFFF, 30.0, 40.0, 50.0, 40.0, 0);
    Attach3DTextLabelToPlayer(name, playerid, 0.0, 0.0, 0.7);
try this.
Reply
#4

Thanks for replies.
I've tried with another person - nothing. Tried code you posted - nothing. Maybe bug?
Reply
#5

I've tried to attach with command. It worked with Nick but vanished after 1sec. When I tried to attach word "Name" it worked and doesn't dissapeared.
Reply
#6

well congrats then
Reply
#7

No no, it's still won't work
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)