public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart)
{
if(damagedid != INVALID_PLAYER_ID)
{
if(weaponid >= 22 && weaponid <= 34 || weaponid == 38)
{
switch(bodypart){
case 3: SendClientMessage(playerid, 0xFFFFFFFF, "В живот ёбнул");
case 4: SendClientMessage(playerid, 0xFFFFFFFF, "Попал в яйца");
case 5: SendClientMessage(playerid, 0xFFFFFFFF, "В левую руку ёбнул");
case 6: SendClientMessage(playerid, 0xFFFFFFFF, "В правую руку ёбнул");
case 7: SendClientMessage(playerid, 0xFFFFFFFF, "В левую ногу ёбнул");
case 8: SendClientMessage(playerid, 0xFFFFFFFF, "В правую ногу ёбнул");
case 9: SendClientMessage(playerid, 0xFFFFFFFF, "В голову ёбнул");
}
}
}
return 1;
}