This textlabel doesn't delete
#3

Ok, now i edited in this way:

OnPlayerPause:

pawn Код:
new PlayerText3D:PausedLabel;
    PausedLabel = CreatePlayer3DTextLabel("Paused", red, 10.0, 20.0, 30.0, 40.0, 0);
    Attach3DTextLabelToPlayer(PausedLabel, playerid, 0.0, 0.0, 0.7);
UnPause:

pawn Код:
new PlayerText3D:PausedLabel;
    PausedLabel = CreatePlayer3DTextLabel("Paused", red, 10.0, 20.0, 30.0, 40.0, 0);
    DeletePlayer3DTextLabel(playerid, PlayerText3D:PausedLabel);
But got this errors:

(1241) : error 035: argument type mismatch (argument 1)
(1242) : warning 213: tag mismatch
(1271) : error 035: argument type mismatch (argument 1)

Line 1241:
pawn Код:
PausedLabel = CreatePlayer3DTextLabel("Paused", red, 10.0, 20.0, 30.0, 40.0, 0);
Line 1242:
pawn Код:
Attach3DTextLabelToPlayer(PausedLabel, playerid, 0.0, 0.0, 0.7);
Line 1271:
pawn Код:
PausedLabel = CreatePlayer3DTextLabel("Paused", red, 10.0, 20.0, 30.0, 40.0, 0);
Reply


Messages In This Thread
This textlabel doesn't delete - by Face9000 - 18.10.2012, 20:11
Re: This textlabel doesn't delete - by iTorran - 18.10.2012, 20:13
Re: This textlabel doesn't delete - by Face9000 - 18.10.2012, 20:19
Re: This textlabel doesn't delete - by XRabbit - 19.10.2012, 09:23
Re: This textlabel doesn't delete - by Face9000 - 19.10.2012, 09:30
Re: This textlabel doesn't delete - by HuSs3n - 19.10.2012, 09:46
Re: This textlabel doesn't delete - by Face9000 - 19.10.2012, 10:30
Re: This textlabel doesn't delete - by mamorunl - 19.10.2012, 10:41
Re: This textlabel doesn't delete - by Face9000 - 19.10.2012, 10:45
Re: This textlabel doesn't delete - by mamorunl - 19.10.2012, 11:09

Forum Jump:


Users browsing this thread: 1 Guest(s)