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;
}