warning 213: tag mismatch....
#1

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 .

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;
}
Desde ya muchas Gracias.
Reply
#2

pawn Код:
stock Create(playerid, PlayerText: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;
}
Reply
#3

Quote:
Originally Posted by Jovanny
Посмотреть сообщение
pawn Код:
stock Create(playerid, PlayerText: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;
}
ah XDD ke bolu.

Muchas Gracias
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)