3dtext label question.
#1

Is there a way to delete all labels in the server?
Reply
#2

Need more information.
Reply
#3

So, to destroy a text label the way is this.

pawn Код:
new Text3D:label1;
Delete3DTextLabel(Text3D:label1);
Reply
#4

Код:

//deletes all player 3dtext labels
for(new i=0; i<MAX_PLAYERS; i++){
    for(new j=0; j<1024; j++){
        DeletePlayer3DTextLabel(i, j);
    }
}

//deletes all 3dtext labels
for(new i=0; i<1024; i++){
    Delete3DTextLabel(i);
}
not sure if you will get errors if you delete textlabels that dont exist but there ya go
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)