25.01.2015, 17:29
Add this under OnPlayerTakeDamage
PHP код:
if(issuerid != INVALID_PLAYER_ID && weaponid == 34 && bodypart == 9)
{
if (GetPlayerTeam(Target) != GetPlayerTeam(Shooter))
{
SetPlayerHealth(Target, 0);
GameTextForPlayer(Target, "~r~Head Shot!", 3000, 3);
}
}