PHP код:
if(issuerid != INVALID_PLAYER_ID)
{
    new 
weaponid GetPlayerWeapon(issuerid);
    if(
19 <= weaponid <= 34 || weaponid == 38
    {
        switch(
bodypart)
        {
            case 
BODY_PART_TORSO
            {
                new 
Float:armour;
                
GetPlayerArmour(playeridarmour);
                if(
floatcmp(armour0) == 1)
                {
                    return 
0;
                }
            }
        }
    }

Как-то так