Raised This Month: $ Target: $400
 0% 

"TextMsg" -> #Name_change


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 06-24-2006 , 21:08   "TextMsg" -> #Name_change
Reply With Quote #1

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.

Last edited by xOR; 06-24-2006 at 22:41.
xOR is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:06.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode