File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
srcds/addons/source-python/plugins/admin/plugins/included/admin_life_management Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 77
88# Source.Python Admin
99from admin .core .features import PlayerBasedFeature
10+ from admin .core .frontends .commands import PlayerBasedFeatureCommand
1011from admin .core .frontends .menus import (
1112 main_menu , MenuSection , PlayerBasedMenuCommand )
1213from admin .core .frontends .motd import (
@@ -100,6 +101,13 @@ def on_error(self, error):
100101 _ws_resurrect_pages .remove (self )
101102
102103
104+ # =============================================================================
105+ # >> COMMAND FRONTEND
106+ # =============================================================================
107+ PlayerBasedFeatureCommand ("slay" , slay_feature )
108+ PlayerBasedFeatureCommand ("resurrect" , resurrect_feature )
109+
110+
103111# =============================================================================
104112# >> MENU ENTRIES
105113# =============================================================================
You can’t perform that action at this time.
0 commit comments