05.06.2011, 17:49
I've created a textdraw to show kills:
But i get this errors:
error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 1)
What's wrong?
pawn Код:
new tds[128];
format(tds, sizeof(tds), "Kills: %d",GetPlayerScore(playerid));
Textdraw1[playerid] = TextDrawCreate(8.000000, 426.000000, tds);
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 1);
TextDrawLetterSize(Textdraw1, 0.500000, 1.000000);
TextDrawColor(Textdraw1, -1);
TextDrawSetOutline(Textdraw1, 0);
TextDrawSetProportional(Textdraw1, 1);
TextDrawSetShadow(Textdraw1, 1);
TextDrawShowForPlayer(playerid, Textdraw1[playerid]);
error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 1)
What's wrong?