SA-MP Forums Archive
Help - 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: Help (/showthread.php?tid=358689)



Help - Crazyboobs - 11.07.2012

I want a help with Attach3DTextLabelToPlayer
In this code 'Lifeguard' 3d text is too much up over the head.I want to make it little down.

pawn Код:
new Text3D:label = Create3DTextLabel("Lifeguard", 0xFFFFDD, 0.0, 0.0, -50.0, 40.0, 0);
        Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.5);
        SetPlayerSkin(playerid,251);
How to make the text down?


Re: Help - clarencecuzz - 11.07.2012

pawn Код:
Attach3DTextLabelToPlayer(labelid, playerid, XOffset, YOffset, ZOffset);
Lower the ZOffset. So change 0.5 to 0.3 or lower, to whatever the height suits.


Re: Help - Crazyboobs - 11.07.2012

Ok thank you