30.09.2009, 23:00
Quote:
Originally Posted by Ace_Menace
Quote:
But I receive these warnings, (probably nothing...) Quote:
|
Secondly: Change Attach3DTextLabelToPlayer to this - Attach3DTextLabelToPlayer(afk, playerid, 0, 0, 0, 0.7); This will make the label appear above the name tag rather than at the level of the player, you can change the 0.7 part to get the desired position but remember that 1.0 is a fairly large step, you can also go in the negatives I believe.
Edit: Sorry, didn't read the code well enough. What you need to do is change the line that says-
new afk = Create3DTextLabel("afk", 0xFFFF00FF, 0, 0, 0, 100, 0, 0);
into this-
new Text3D:afk = Create3DTextLabel("afk", 0xFFFF00FF, 0, 0, 0, 100, 0, 0);