Как-то так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(playerid, armour);
if(floatcmp(armour, 0) == 1)
{
return 0;
}
}
}
}
}