new weap[2];for(new i; i<12;i++){ GetPlayerWeaponData(playerid,i,weap[0],weap[1]); if(weap[0] == MODEL HERE) { // ur code here. }}