Now:
override string GetAdminLogMessage(ActionData action_data) { return " dismantled " + action_data.m_Target.GetObject().GetDisplayName() + " with " + action_data.m_MainItem.GetDisplayName(); }
Please add some info about part of object like this:
override string GetAdminLogMessage(ActionData action_data) { ConstructionActionData construction_action_data = action_data.m_Player.GetConstructionActionData(); ConstructionPart construction_part = construction_action_data.GetTargetPart(); return " dismantled " + construction_part.GetName() + " a part of " + action_data.m_Target.GetObject().GetDisplayName() + " with " + action_data.m_MainItem.GetDisplayName(); }