warning 213: tag mismatch
#1

Код:
            TextDrawHideForPlayer(playerid, vmegz0[playerid]);
i tried in many ways but still didnt found were is problem
Reply
#2

The declaration line of the variable vmegz0 should be like this
Quote:

new Text:vmegz0[MAX_PLAYERS];

Reply
#3

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];
Reply
#4

In that case use this -
pawn Код:
PlayerTextDrawHide(playerid, vmegz0[playerid]);
Use PlayerTextDrawHide to hide player textdraws
Reply
#5

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);
Reply
#6

Use this for declaration -
Quote:

new PlayerText:vmegz0[MAX_PLAYERS];

And this for hiding -
Quote:
PlayerTextDrawHide(playerid, vmegz0[playerid]);

Reply
#7

oh yea thanks
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)