SA-MP Forums Archive
Moving 3D label position - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Moving 3D label position (/showthread.php?tid=231490)



Moving 3D label position - Typhome - 25.02.2011



How do it? Im stucked, lol.

Код:
ID[playerid] = Create3DTextLabel(asi,VALGE,0.0,0.0,0.0,10.0,0);
Attach3DTextLabelToPlayer(ID[playerid],playerid,0.0,0.0,0.7);



Re: Moving 3D label position - Mean - 25.02.2011

Destroy the label, and re-create it.


Re: Moving 3D label position - Typhome - 25.02.2011

Quote:
Originally Posted by Mean
Посмотреть сообщение
Destroy the label, and re-create it.
why?


Re: Moving 3D label position - IstuntmanI - 25.02.2011

Код:
Attach3DTextLabelToPlayer(ID[playerid],playerid,0.0,0.0,0.7);
0.7 - OffSetZ, so if you want it lower, try 0.2 ... or 0.3,0.4,0.5 ...


Re: Moving 3D label position - Retardedwolf - 25.02.2011

FYI, You can't see your own attached label.


Re: Moving 3D label position - Typhome - 25.02.2011

Quote:
Originally Posted by costel_nistor96
Посмотреть сообщение
Код:
Attach3DTextLabelToPlayer(ID[playerid],playerid,0.0,0.0,0.7);
0.7 - OffSetZ, so if you want it lower, try 0.2 ... or 0.3,0.4,0.5 ...
Thanks.