What's wrong
#1

I got this part of code for creating textdraw and show's how much score has a player:

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);
But i get this:

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

Thanks.
Reply


Messages In This Thread
What's wrong - by Face9000 - 01.06.2011, 08:47
Re: What's wrong - by Hobod - 01.06.2011, 08:52
Re: What's wrong - by Face9000 - 01.06.2011, 08:59
Re: What's wrong - by Hobod - 01.06.2011, 09:02
Re: What's wrong - by Calgon - 01.06.2011, 09:07
Re: What's wrong - by Biesmen - 01.06.2011, 09:09
Re: What's wrong - by Unknown_Killer - 01.06.2011, 09:09
Re: What's wrong - by Calgon - 01.06.2011, 09:11
Re: What's wrong - by Biesmen - 01.06.2011, 09:13
Re: What's wrong - by Calgon - 01.06.2011, 09:13

Forum Jump:


Users browsing this thread: 1 Guest(s)