#1

how can i remove 3D text off player head?
like /adminduty when onduty text on player head
/adminduty again when player gose off duty i want text to move
help me please
Reply
#2

You need to assign a variable to your label. You can do so by modifying your Create3DTextLabel line to the following:

pawn Код:
myLabel[playerid] = Create3DTextLabel(.....);
Above that, you should create the variable for the label:

pawn Код:
new Text3D: myLabel[MAX_PLAYERS];
Then when you want to destroy it:

pawn Код:
Delete3DTextLabel(myLabel[playerid]);
You should also destroy it under OnPlayerDisconnect if the label exists.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)