Try this
using System.Linq;
namespace Oxide.Plugins
{
[Info("Kill Effect", "bsdinis", "0.0.1")]
class KillEffect : RustPlugin
{
[ChatCommand("ke")]
void KE(BasePlayer player, string command)
{
if (!player.IsAdmin)
{
player.ChatMessage($"Unknown command: {command}");
return;
}
foreach (BaseEntity entity in BaseNetworkable.serverEntities.ToList())
{
if (entity == null || UnityEngine.Vector3.Distance(player.transform.position, entity.transform.position) > 5f || entity.PrefabName != "assets/bundled/prefabs/fx/smoke_signal_full.prefab") continue;
player.ChatMessage($"Killed {entity}");
entity.Kill();
}
}
}
}
Merged postRun the chat command /ke while standing 5 meters away or less from the smoke effect.