[ConsoleCommand("mycommand")] void MyConsoleCommand(ConsoleSystem.Arg arg)
class MyPlugin : RustPlugin
void OnPlayerDeath(BasePlayer player, HitInfo info) if (info?.InitiatorPlayer == null) return; var killer = info.InitiatorPlayer; killer.Heal(10); SendReply(killer, "You healed 10 HP for that kill"); umod framework
[ConsoleCommand("mycommand")] void MyConsoleCommand(ConsoleSystem.Arg arg)
class MyPlugin : RustPlugin
void OnPlayerDeath(BasePlayer player, HitInfo info) if (info?.InitiatorPlayer == null) return; var killer = info.InitiatorPlayer; killer.Heal(10); SendReply(killer, "You healed 10 HP for that kill");