Raised This Month: $ Target: $400
 0% 

[HELP] Change Name Kick


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
L//
Senior Member
Join Date: Aug 2008
Location: Not found
Old 01-04-2009 , 10:18   Re: [HELP] Change Name Kick
Reply With Quote #7

PHP Code:
public client_infochanged(id

    if(!
is_user_connected(id)) 
        return 
PLUGIN_CONTINUE;
    
    new 
reason[64], newname[32], oldname[32]; 
    
    
get_user_name(idoldnamesizeof oldname 1); 
    
get_user_info(id"name"newnamesizeof newname 1); 
        
    if (!
equal(newnameoldname))
    {
        
format(reasonsizeof reazon 1"Dont Change Name.");    // Corrects double quotes
        
server_cmd("kick #%d %s"get_user_userid(id), reason);
    }
    return 
PLUGIN_CONTINUE;

__________________
L// is offline
Send a message via MSN to L//
 



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:05.


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