14.11.2013, 14:08
Hello,
im having some trouble with player textdraws, im getting a tag mismatch.
code:
why am i getting this error? i know a tag mis match means the variable is wrong but i checked other topics and i did the same...
im having some trouble with player textdraws, im getting a tag mismatch.
code:
pawn Код:
new Text:tddeaths[MAX_PLAYERS]; //at the top of my script
//under onplayerconnect
tddeaths[playerid] = CreatePlayerTextDraw(playerid, 4.571428, 295.679992, "Deaths: 0"); //line 399 <=====
PlayerTextDrawLetterSize(playerid, tddeaths[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, tddeaths[playerid], 1);
PlayerTextDrawColor(playerid, tddeaths[playerid], -1);
PlayerTextDrawSetShadow(playerid, tddeaths[playerid], 0);
PlayerTextDrawSetOutline(playerid, tddeaths[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, tddeaths[playerid], 255);
PlayerTextDrawFont(playerid, tddeaths[playerid], 1);
PlayerTextDrawSetProportional(playerid, tddeaths[playerid], 1);
//errors
(399) : warning 213: tag mismatch
(400) : warning 213: tag mismatch
(401) : warning 213: tag mismatch
(402) : warning 213: tag mismatch
(403) : warning 213: tag mismatch
(404) : warning 213: tag mismatch
(405) : warning 213: tag mismatch
(406) : warning 213: tag mismatch
(407) : warning 213: tag mismatch
(409) : warning 213: tag mismatch