21.01.2011, 10:26
Hi all,im using the include to detect when a player is paused,and if it's,the server will add a text label above hid head:
I added this on the function Paused.
Then,i added this on Unpaused:
But the textlabel want leave :/
pawn Код:
label[playerid] = Create3DTextLabel("I'm PAUSED!",0x008080FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.7);
Then,i added this on Unpaused:
pawn Код:
Delete3DTextLabel(label[playerid]);