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 7
7
8
8
# Source.Python Admin
9
9
from admin .core .features import PlayerBasedFeature
10
+ from admin .core .frontends .commands import PlayerBasedFeatureCommand
10
11
from admin .core .frontends .menus import (
11
12
main_menu , MenuSection , PlayerBasedMenuCommand )
12
13
from admin .core .frontends .motd import (
@@ -100,6 +101,13 @@ def on_error(self, error):
100
101
_ws_resurrect_pages .remove (self )
101
102
102
103
104
+ # =============================================================================
105
+ # >> COMMAND FRONTEND
106
+ # =============================================================================
107
+ PlayerBasedFeatureCommand ("slay" , slay_feature )
108
+ PlayerBasedFeatureCommand ("resurrect" , resurrect_feature )
109
+
110
+
103
111
# =============================================================================
104
112
# >> MENU ENTRIES
105
113
# =============================================================================
You can’t perform that action at this time.
0 commit comments