28.06.2015, 05:20
pawn Код:
INI_String(str[0], ScoreBoard[t][i][sbName], MAX_PLAYER_NAME);
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);
Код:
format(str[0], 24, "name_%i_%i", t+1, i+1); INI_String(str[0], ScoreBoard[SB_Type: t][i][sbName], MAX_PLAYER_NAME);