Raised This Month: $ Target: $400
 0% 

Remove setinfo _pw when leave the Server


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Unknown Guy
Member
Join Date: Dec 2014
Location: Munich, Germany
Old 05-17-2017 , 10:25   Re: Remove setinfo _pw when leave the Server
Reply With Quote #15

Quote:
Originally Posted by D3XT3R View Post
try this:
PHP Code:
#include <amxmodx> 

public plugin_init()
{
    
register_plugin"Godofwar""1.0""author" );
}

public 
client_connect(id)
{
    if(!
get_user_flags(id) & ADMIN_USER)
    {
        
remove_password(id)
    }
}

public 
remove_password(id)
{
    
client_cmd(id"setinfo _pw "");

Quit triple posting and let him use SteamIDs to save admins.

Non Steam isn't supported here.
Unknown Guy 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 02:39.


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