Updated for latest hl2sdk-dota changes.
This commit is contained in:
@@ -286,7 +286,7 @@ void ChatTriggers::OnSayCommand_Post()
|
||||
int client = g_ConCmds.GetCommandClient();
|
||||
unsigned int old = SetReplyTo(SM_REPLY_CHAT);
|
||||
#if SOURCE_ENGINE == SE_DOTA
|
||||
engine->ClientCommand(PEntityOfEntIndex(client), "%s", m_ToExecute);
|
||||
engine->ClientCommand(client, "%s", m_ToExecute);
|
||||
#else
|
||||
serverpluginhelpers->ClientCommand(PEntityOfEntIndex(client), m_ToExecute);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user