Raised This Month: $ Target: $400
 0% 

how to block "not single character word"


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
0920357689
Senior Member
Join Date: Apr 2008
Old 06-30-2010 , 19:43   Re: how to block "not 1 characters word"
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
I'm not sure if this will work but it is similar to what you are doing:

PHP Code:
new name[32], name_len;
get_user_name(idname31);
name_len strlen(name);
for(new 
name_lenstart 0;name_lenstart name_len;name_lenstart++)
{
    if(
name[name_lenstart] > 255)
    {
        new 
userid get_user_userid(id);
        
server_cmd"kick #%d",userid);
    }

my core is check player name on 0-31 characters
sure no have 3characters word in name


my english very bad sorry
0920357689 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 14:46.


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