Raised This Month: $ Target: $400
 0% 

Nick Words


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 05-08-2015 , 17:10   Re: Nick Words
Reply With Quote #1

Quote:
Originally Posted by Eagle07 View Post
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <fakemeta>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "EaGle"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
// Add your code here...
}
public 
client_connectid )
{
    if(!
is_user_bot(id))
    {
        new 
szName32 ];
        
get_user_name(id,szName,charsmaxszName ) )
        new 
szString strlenszName )
        if(
szString <= 3)
        {
            
server_cmd("kick #%d ^"This name is not allowed here^"",get_user_userid(id))
        }
    }

The request says 3 words, not 3 characters.
__________________
Black Rose 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 20:02.


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