void Init()
[ChatCommand("secret")] void SecretCommand(BasePlayer player, string cmd, string[] args) umod framework
Puts("Console command executed");
SendReply(player, "Hello " + player.displayName); string[] args) Puts("Console command executed")
public string WelcomeMessage = "Welcome!"; "Hello " + player.displayName)
if (!permission.UserHasPermission(player.UserIDString, "myplugin.use"))
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");