01.06.2011, 08:47
I got this part of code for creating textdraw and show's how much score has a player:
But i get this:
warning 213: tag mismatch
error 035: argument type mismatch (argument 1)
Thanks.
pawn Код:
new tds[128];
format(tds, sizeof(tds), "Score: %d",GetPlayerScore(playerid));
Textdraw1[playerid] = TextDrawCreate(276.000000, 391.000000, tds);
TextDrawShowForPlayer(playerid, tds[playerid]);
TextDrawBackgroundColor(tds, 255);
TextDrawFont(tds, 1);
TextDrawLetterSize(tds, 0.500000, 1.799999);
TextDrawColor(tds, -1);
TextDrawSetOutline(tds, 0);
TextDrawSetProportional(tds, 0);
TextDrawSetShadow(tds, 1);
warning 213: tag mismatch
error 035: argument type mismatch (argument 1)
Thanks.