private void DoRaze() { Model model = GetDialogCustomData <Model>(); NWPlayer oPC = GetPC(); if (!_structure.PlayerHasPermission(oPC, StructurePermission.CanRazeStructures, model.FlagID)) { _.FloatingTextStringOnCreature("You do not have permission to raze structures.", oPC.Object, FALSE); BuildMainPage(); ChangePage("MainPage"); return; } _structure.RazeConstructionSite(GetPC(), (NWPlaceable)GetDialogTarget(), false); EndConversation(); }