I was trying to make a command to hurt a specified player but i'm not sure how to do that because when i run the command it hurts myself.
[Command("hurt")]
private void HurtCommand(IPlayer player, string Command, string[] args)
{
player.Hurt(50);
}