Raised This Month: $ Target: $400
 0% 

[REQ] Name min. and max. lenght


Post New Thread Reply   
 
Thread Tools Display Modes
cikjam
Senior Member
Join Date: Feb 2009
Location: Australia
Old 01-01-2010 , 23:07   Re: [REQ] Name min. and max. lenght
Reply With Quote #11

Why don't you just make it kick them with a message saying:

Kicked! Reason: Your name is too long. Change it to rejoin.

Kicked! Reason: Your name is too short. Change it to rejoin.
__________________
R.I.P Aziz 'Zyzz' Sergeyevich Shavershian
cikjam is offline
Denmla
Member
Join Date: Jul 2007
Old 01-02-2010 , 00:06   Re: [REQ] Name min. and max. lenght
Reply With Quote #12

Yeah that will be easy and good way.
Denmla is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 01-02-2010 , 01:16   Re: [REQ] Name min. and max. lenght
Reply With Quote #13

Fixed, sorry about that.
__________________
Bugsy is offline
Denmla
Member
Join Date: Jul 2007
Old 01-02-2010 , 10:30   Re: [REQ] Name min. and max. lenght
Reply With Quote #14

Thank you very much, now works like mercedes
Denmla is offline
trup1k
Member
Join Date: Nov 2009
Old 01-02-2010 , 11:29   Re: [REQ] Name min. and max. lenght
Reply With Quote #15

Bugsy
can you add ADMIN IMMUNITY?
trup1k is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 01-02-2010 , 11:50   Re: [REQ] Name min. and max. lenght
Reply With Quote #16

Just add a check at the top of CheckName() .. see below

PHP Code:
public CheckNameid )

to

PHP Code:
public CheckNameid )
{
    if ( 
get_user_flagsid ) & ADMIN_IMMUNITY )
        return 
PLUGIN_HANDLED
__________________
Bugsy is offline
trup1k
Member
Join Date: Nov 2009
Old 01-02-2010 , 16:00   Re: [REQ] Name min. and max. lenght
Reply With Quote #17

thx man
trup1k 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 00:33.


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