for(new j;j<=12;j++){ new wep1, ammo1; GetPlayerWeaponData(playerid,j,wep1,ammo1); if(wep1) return true;}return false;