17.10.2009, 22:45
I would like the text attached to the player who made the cmd. But this does not work ...
Thanks you for your help :P
Код:
if(strcmp(cmdtext, "/playerlabel", true) == 0) { new PlayerText3D:playertextid; new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X, Y, Z ); playertextid = CreatePlayer3DTextLabel(playerid,"Hello\nI'm at your position",0x008080FF,X,Y,Z,1000.0); Attach3DTextLabelToPlayer(playertextid, playerid, X,Y,Z); return 1; }