25.01.2013, 15:55
Buenas a todos, me podrian decir donde estoy cometiendo un error en el siguiente code, ke me tira error warning 213: tag mismatch en todas las lineas y no le veo el error :S .
Desde ya muchas Gracias.
pawn Код:
#include <a_samp>
new PlayerText:CreatePlayerTextDrawNew[MAX_PLAYERS][1];
public OnPlayerConnect(playerid)
{
Create(playerid, CreatePlayerTextDrawNew, 0, ".", -1); //warning 213: tag mismatch
return 1;
}
stock Create(playerid, idtextdraw[][], slot, Texto[], Color)
{
idtextdraw[playerid][slot] = CreatePlayerTextDraw(playerid, 506.000000, 415.000000, Texto); //warning 213: tag mismatch
PlayerTextDrawBackgroundColor(playerid, idtextdraw[playerid][slot], 255); //warning 213: tag mismatch
PlayerTextDrawFont(playerid, idtextdraw[playerid][slot], 1); //warning 213: tag mismatch
PlayerTextDrawLetterSize(playerid, idtextdraw[playerid][slot], 0.309999, 1.600000); //warning 213: tag mismatch
PlayerTextDrawColor(playerid, idtextdraw[playerid][slot], Color); //warning 213: tag mismatch
PlayerTextDrawSetOutline(playerid, idtextdraw[playerid][slot], 1); //warning 213: tag mismatch
PlayerTextDrawSetProportional(playerid, idtextdraw[playerid][slot], 1); //warning 213: tag mismatch
PlayerTextDrawShow(playerid, idtextdraw[playerid][slot]); //warning 213: tag mismatch
return 1;
}