File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
srcds/addons/source-python/plugins/admin/core Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 33# =============================================================================
44# Source.Python
55from auth .manager import auth_manager
6- from filters .players import PlayerIter
76from listeners .tick import Delay
8- from messages import SayText2
97from players .dictionary import PlayerDictionary
108from players .entity import Player
119
1210# Source.Python Admin
13- from .strings import strings_common
11+ from .helpers import chat_message
1412
1513
1614# =============================================================================
@@ -73,8 +71,7 @@ def send_popup(self, popup):
7371 popup .send (self .player .index )
7472
7573 def tell (self , message ):
76- SayText2 (strings_common ['chat_base' ].tokenized (message = message )).send (
77- self .player .index )
74+ chat_message (message , (self .player .index ,))
7875
7976 def sync_execution (self , callback , args = (), kwargs = None ):
8077 self .player .delay (0 , callback , args , kwargs )
You can’t perform that action at this time.
0 commit comments