13.01.2016, 16:59
PHP код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart){
if(issuerid != INVALID_PLAYER_ID && weaponid == 34 && bodypart == 9){
SetPlayerHealth(playerid, 0.0);
}
return 1;
}