No tak, użyj Hamsandwich, znalazłem gotowy stock <ham> + <xs>
stock HamRadiusDamage(ent, Float:radius, Float:damage, bits)
{
new target = -1, Float:origin[3]
pev(ent, pev_origin, origin)
while(( target = find_ent_in_sphere(target, origin, radius) ))
{
static Float:o[3]
pev(target, pev_origin, o)
xs_vec_sub(origin, o, o)
// Recheck if the entity is in radius
if (xs_vec_len(o) > radius)
continue
Ham_ExecDamageB(target, ent, pev(ent, pev_owner), damage * (xs_vec_len(o) / radius), HIT_GENERIC, bits)
}
}
Obliczna dmg na podstawie odległości od bytu zadającego obrażenia.
Zobacz też na kod pluginu Wybuchające Granaty czy coś w tym stylu, strzelałeś w leżący granat i on wybuchał, może coś znajdziesz w kodzie.