[HELP] Changing Z-Coord of an Attach3DTextLabelToPlayer - 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: [HELP] Changing Z-Coord of an Attach3DTextLabelToPlayer (
/showthread.php?tid=188227)
[HELP] Changing Z-Coord of an Attach3DTextLabelToPlayer -
Camacorn - 06.11.2010
Ok, so i made some 3DTextLabels above players heads, but they are really high, about 3 inches above the persons head, no matter how low i set the Z-Coord, it still remains 3 inches high.
Here is the code:
Код:
new string[ 128 ];
format(string,sizeof(string),"%s\n ID: %d",GetName(playerid),playerid);
connect[playerid] = Create3DTextLabel( string, GREY, 30.0, 40.0, 10.0, 15.0, 0);
Attach3DTextLabelToPlayer(connect[playerid], playerid, 0.0, 0.0, 0.7);
Image:
Thanks in advance!
Re: [HELP] Changing Z-Coord of an Attach3DTextLabelToPlayer -
Hiddos - 06.11.2010
Tried changing this line?
Код:
Attach3DTextLabelToPlayer(connect[playerid], playerid, 0.0, 0.0, 0.7);
Re: [HELP] Changing Z-Coord of an Attach3DTextLabelToPlayer -
Camacorn - 06.11.2010
Thanks, fixed