Y_INI: tag mismatch.
#2

pawn Код:
INI_String(str[0], ScoreBoard[t][i][sbName], MAX_PLAYER_NAME);
Inputting t directly in first param or into array will cause tag mismatch.
Maybe you are trying to do this:
pawn Код:
format(str[0], 24, "name_%i_%i", t+1, i+1);
        if(! t) INI_String(str[0], ScoreBoard[RED_TWI][i][sbName], MAX_PLAYER_NAME);
        else INI_String(str[0], ScoreBoard[DES_TWI][i][sbName], MAX_PLAYER_NAME);
Or the best way is:
Код:
	    format(str[0], 24, "name_%i_%i", t+1, i+1);
	    INI_String(str[0], ScoreBoard[SB_Type: t][i][sbName], MAX_PLAYER_NAME);
Similar for INI_Int part.
Reply


Messages In This Thread
Y_INI: tag mismatch. - by Crayder - 28.06.2015, 03:42
Re: Y_INI: tag mismatch. - by Gammix - 28.06.2015, 05:20

Forum Jump:


Users browsing this thread: 2 Guest(s)