warning 213: tag mismatch
#7

pawn Код:
new PlayerText:EXPTextdraw2[MAX_PLAYERS] = {PlayerText:INVALID_TEXT_DRAW, ...};

public OnPlayerConnect(playerid)
{
    EXPTextdraw2[playerid] = CreatePlayerTextDraw(playerid, bla, bla bla , "-");
    return 1;
}

//Showing the textdraw
PlayerTextDrawShow(playerid, EXPTextdraw2[playerid]);


forward EXPUpdate();
public EXPUpdate()
{
    for(new i; i<MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            new score[128];
            format(score, sizeof(score), "%d", pInfo[i][Exp]);

            PlayerTextDrawSetString(i, EXPTextdraw2[i], score);
        }
    }
    return 1;
}
Reply


Messages In This Thread
warning 213: tag mismatch - by Mriss - 09.04.2014, 09:07
Re: warning 213: tag mismatch - by Mriss - 09.04.2014, 09:22
Re: warning 213: tag mismatch - by Flake. - 09.04.2014, 09:25
Re: warning 213: tag mismatch - by Ari - 09.04.2014, 09:45
Re: warning 213: tag mismatch - by Konstantinos - 09.04.2014, 09:52
Re: warning 213: tag mismatch - by Mriss - 09.04.2014, 11:01
Re: warning 213: tag mismatch - by xVIP3Rx - 09.04.2014, 11:17
Re: warning 213: tag mismatch - by Micheal123 - 09.04.2014, 11:20

Forum Jump:


Users browsing this thread: 1 Guest(s)