Raised This Month: $ Target: $400
 0% 

Not display msg of change name


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 12-20-2008 , 12:55   Re: Not display msg of change name
Reply With Quote #2

Is not the best way, but try it...you can block the text message
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

public client_infochanged(id)
{
    new 
newname[32],oldname[32];
    
get_user_info(id,"name",newnamesizeof newname 1);
    
get_user_name(id,oldname,sizeof oldname 1);
    
    if(!
equal(newname,oldname))
    {
        
set_user_infoid"name",newname );
        return 
PLUGIN_HANDLED;
    }
    
    return 
PLUGIN_CONTINUE;

__________________

anakin_cstrike is offline
 



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 09:10.


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