#include <amxmodx>
#include <hamsandwich>
#include <engine>
const Float: DAMAGE = 200.0;
public plugin_init()
{
register_plugin("One shot kill", "0.0.2", "wopox1337");
RegisterHam(Ham_TakeDamage, "player", "CBasePlayer_TakeDamage_Pre", .Post = false, .specialbot = true);
}
public CBasePlayer_TakeDamage_Pre(victim, weapon, attacker, Float:damage, damagebits)
{
if(!(damagebits & DMG_BULLET))
return;
enum { param_damage = 4 };
SetHamParamFloat(param_damage, DAMAGE);
}
600 рублей и у тебя готовая версия "безконфликтная"Готов проспонсировать.