3d label doesn't show - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 3d label doesn't show (
/showthread.php?tid=373688)
3d label doesn't show -
iWhite - 31.08.2012
Код:
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.
Re: 3d label doesn't show -
JaKe Elite - 31.08.2012
Did you just test it with yourself?.
You cannot see the 3d text label if its attach to you.
Re: 3d label doesn't show -
[HK]Ryder[AN] - 31.08.2012
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.
Re: 3d label doesn't show -
iWhite - 31.08.2012
Thanks for replies.
I've tried with another person - nothing. Tried code you posted - nothing. Maybe bug?
Re: 3d label doesn't show -
iWhite - 31.08.2012
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.
Re: 3d label doesn't show -
[HK]Ryder[AN] - 31.08.2012
well congrats then
Re: 3d label doesn't show -
iWhite - 31.08.2012
No no, it's still won't work