new str[12]; for(new d=0; d != 13; d++) { if(d != 8) format(str,sizeof(str),"Weapon[%d]",d); else format(str,sizeof(str),"Weapon[%d]",d+1); INI_Int(str, pInfo[playerid][Weapons][d]); }