Raised This Month: $ Target: $400
 0% 

Force name/nick


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fls
New Member
Join Date: Sep 2005
Old 09-30-2006 , 10:52   Force name/nick
Reply With Quote #1

Hi,

i've made a plugin that forces a clients name/nick. Now the only problem left is to block the "x changed name to z" message that displays to everyone.
After some forum searching it seems the solution is "register_message" , finding the message id and blocking it by passing it to a function that only returns PLUGIN_HANDLED (thereby blocking it) ?

Now, I can't figure out how to "catch" the message.
Tried using get_user_msgid("TextMsg") , but it doesn't seem to catch name changes, only other events...

Any help appreciated
fls is offline
fls
New Member
Join Date: Sep 2005
Old 09-30-2006 , 11:05   Re: Force name/nick
Reply With Quote #2

Ooh, nevermind, figured it out. Had to use "SayText" instead of "TextMsg" ;)
fls is offline
Reply



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 04:47.


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