public void PlayerDied(Player player) { WorldPosition bindPoint = GetNearestBindPoint(player); player.ClosestBindPoint = bindPoint; VisibleService.Send(player, new SpCharacterDeath(player, true)); SystemMessages.YouAreDead(player.PlayerData.Name).Send(player); new SpDeathDialog(AreaService.GetSectionByCoords(bindPoint).NameId).Send(player); }