22.03.2014, 08:41
I made command /title in dialog and it's showing your text above your head...It works fine, but when i do /title again it writes new text over old one. I don't know how to delete that old text
Код:
if(response)
{
new string2[128];
new Float:x,Float:y,Float:z;
new Text3D:label = Create3DTextLabel(inputtext, textc[playerid],x,y,z, 40.0, 0, 0);
GetPlayerPos(playerid,x,y,z);
format(string2, sizeof(string2), "%s", inputtext);
SendClientMessage(playerid,textc[playerid], string2);
Attach3DTextLabelToPlayer(label,playerid,0.0, 0.0, 0.7);
}

