This is why I also said that you should create a test plugin to make sure that you understand the logic required to implement the feature you are trying to implement in your plugin. I do this all the time. Create a simple plugin that does just that one feature to make sure that I know that what I'm doing it working in it's simplest form. See here:
Code:
#include <amxmodx>
public plugin_init()
{
register_clcmd("say test", "cmdSayTest")
register_clcmd("_testmm", "cmdTestMM")
}
public cmdSayTest(id)
{
client_print(id, print_chat, "say test happened")
client_cmd(id, "messagemode _testmm")
}
public cmdTestMM(id)
{
new szString[32]
read_args(szString, charsmax(szString))
client_print(id, print_chat, "TestMM String: %s", szString)
}
they "test" in chat and you should get the messagemode command and then type something. When you hit enter, it will display that text in chat. This shows that it's working. Then, you can compare that to what you're doing in your plugin.
__________________