01.04.2013, 16:25
So I want to remove a text label but how do I know the label id?
code:
code:
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp("/afk", cmdtext, true, 10) == 0) { if(isafk) { DeletePlayer3DTextLabel(playerid, WHAT ID DO I PUT HERE); } else { new Text3D:label = Create3DTextLabel("Currently AFK.", 0xFFC70855, 30.0, 40.0, 50.0, 40.0, 0); Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7); } return 1; } return 0; }