warning 213: tag mismatch - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: warning 213: tag mismatch (
/showthread.php?tid=561121)
warning 213: tag mismatch -
sn0p - 01.02.2015
Код:
TextDrawHideForPlayer(playerid, vmegz0[playerid]);
i tried in many ways but still didnt found were is problem
Re: warning 213: tag mismatch -
BroZeus - 01.02.2015
The declaration line of the variable vmegz0 should be like this
Quote:
new Text:vmegz0[MAX_PLAYERS];
|
Re: warning 213: tag mismatch -
sn0p - 01.02.2015
Quote:
Originally Posted by BroZeus
The declaration line of the variable vmegz0 should be like this
|
in my case im creating textdraw for player
new PlayerText:vmegz0[MAX_PLAYERS];
Re: warning 213: tag mismatch -
BroZeus - 01.02.2015
In that case use this -
pawn Код:
PlayerTextDrawHide(playerid, vmegz0[playerid]);
Use PlayerTextDrawHide to hide player textdraws
Re: warning 213: tag mismatch -
sn0p - 01.02.2015
Quote:
Originally Posted by BroZeus
In that case use this -
pawn Код:
PlayerTextDrawHide(playerid, vmegz0[playerid]);
Use PlayerTextDrawHide to hide player textdraws
|
Now thesame warnning at
Код:
vmegz0[playerid] = CreatePlayerTextDraw(playerid,-222.000000, 331.000000, "New Textdraw");
PlayerTextDrawBackgroundColor(playerid,vmegz0[playerid], 255);
PlayerTextDrawFont(playerid,vmegz0[playerid], 1);
PlayerTextDrawLetterSize(playerid,vmegz0[playerid], 0.900000, 16.100000);
PlayerTextDrawColor(playerid,vmegz0[playerid], -1);
PlayerTextDrawSetOutline(playerid,vmegz0[playerid], 0);
PlayerTextDrawSetProportional(playerid,vmegz0[playerid], 1);
PlayerTextDrawSetShadow(playerid,vmegz0[playerid], 1);
PlayerTextDrawUseBox(playerid,vmegz0[playerid], 1);
PlayerTextDrawBoxColor(playerid,vmegz0[playerid], 255);
PlayerTextDrawTextSize(playerid,vmegz0[playerid], 653.000000, 0.000000);
PlayerTextDrawSetSelectable(playerid,vmegz0[playerid], 0);
Re: warning 213: tag mismatch -
BroZeus - 01.02.2015
Use this for declaration -
Quote:
new PlayerText:vmegz0[MAX_PLAYERS];
|
And this for hiding -
Quote:
PlayerTextDrawHide(playerid, vmegz0[playerid]);
|
Re: warning 213: tag mismatch -
sn0p - 01.02.2015
oh yea thanks