Raised This Month: $ Target: $400
 0% 

Need verify addadmin if already exists


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
daNzEt
Senior Member
Join Date: Sep 2010
Location: Romania
Old 01-07-2014 , 03:13   Re: Need verify addadmin if already exists
Reply With Quote #3

Because when the name or ip is invalid on command it's shows the same message, also when the name or ip is already registered same message

PHP Code:
 if (idtype ADMIN_LOOKUP && !player)
    {
        
console_print(id"The player with this name or ip is not connect or is already registered")
        
        return 
PLUGIN_HANDLED;
    } 
I want to make something like that:

If name already exist: This name is already registered
If ip already exist: This ip is already registered
If name is invalid: This name is invalid
If ip is invalid: Can't be because is using get_user_ip ...
daNzEt is offline
Send a message via Yahoo to daNzEt Send a message via Skype™ to daNzEt
 



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


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