Raised This Month: $ Target: $400
 0% 

[SOLVED}nameprotection need litle help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 02-23-2007 , 01:26   Re: nameprotection need litle help
Reply With Quote #1

Add
Code:
new oldname[32];
Change
Code:
get_user_name( id, name, 31 )
to
Code:
get_user_name(id, oldname, 31);
And check if it's the same as the new
Code:
if ( equal(oldname, name) )     return PLUGIN_CONTINUE;

Last edited by [ --<-@ ] Black Rose; 02-23-2007 at 01:30.
[ --<-@ ] 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 00:43.


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