added amb577

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401077
This commit is contained in:
David Anderson
2007-07-08 17:43:40 +00:00
parent f3566e6f4c
commit 6dd0ff6b07
2 changed files with 17 additions and 0 deletions
+6
View File
@@ -797,6 +797,11 @@ static cell_t GetCmdReplyTarget(IPluginContext *pContext, const cell_t *params)
return g_ChatTriggers.GetReplyTo();
}
static cell_t SetCmdReplyTarget(IPluginContext *pContext, const cell_t *params)
{
return g_ChatTriggers.SetReplyTo(params[1]);
}
REGISTER_NATIVES(consoleNatives)
{
{"CreateConVar", sm_CreateConVar},
@@ -833,5 +838,6 @@ REGISTER_NATIVES(consoleNatives)
{"FakeClientCommand", FakeClientCommand},
{"ReplyToCommand", ReplyToCommand},
{"GetCmdReplySource", GetCmdReplyTarget},
{"SetCmdReplyTarget", SetCmdReplyTarget},
{NULL, NULL}
};