i would like to suppress the default text "asdf changed name to foobar" in certain cases.
Code:
public plugin_init()
{
register_message(get_user_msgid("TextMsg"), "hook_textmsg")
}
unfortunately i never receive the text event #Name_change. i do not receive any other text event that would indicate a name change as well.
tested this with amxx 1.71, don't know about other versions.
i don't even know whether this is a bug or i request a feature by pointing this out, because it is currently just not forwarded to plugins. or is plugin_init the wrong place to register for the messages? i receive any other messages (like #Game_connected) as expected though.