28.07.2012, 07:33
I have problem with warning "tag mismatch and number of arguments does not match definition". Can any one help me.
Here is the code:
Here is the code:
pawn Код:
TextDrawSetString(Textdraw4[playerid],string); // tag mismatch
TextDrawShowForPlayer(playerid,Textdraw4[playerid]); // tag mismatch
TextDrawDestroy(Textdraw4[playerid]); // tag mismatch
Textdraw4[i] = TextDrawCreate(86.000000, 428.000000, " "); // tag mismatch
TextDrawAlignment(Textdraw4[i], 2); // tag mismatch
TextDrawBackgroundColor(Textdraw4[i], 255); // tag mismatch
TextDrawFont(Textdraw4[i], 2); // tag mismatch
TextDrawLetterSize(Textdraw4[i],0.280000, 1.100000); // tag mismatch
TextDrawColor(Textdraw4[i], -1); // tag mismatch
TextDrawSetOutline(Textdraw4[i], 1); // tag mismatch
TextDrawSetProportional(Textdraw4[i], 1); // tag mismatch
forward Prisond(playerid);
public Prisond(playerid)
{
new rand;
rand = random(sizeof(gPrisonSpawns));
DOO_SetPlayerPos(playerid, gPrisonSpawns[rand][0],gPrisonSpawns[rand][1], gPrisonSpawns[rand][2], gPrisonSpawns[rand][3], gPrisonSpawns[rand][4], gPrisonSpawns[rand][5], gPrisonSpawns[rand][6], gPrisonSpawns[rand][7], gPrisonSpawns[rand][8]); // number of arguments does not match definition
return 1;
}