AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Trash (https://forums.alliedmods.net/forumdisplay.php?f=22)
-   -   Anti Name Change (https://forums.alliedmods.net/showthread.php?t=327930)

Mohamed null 10-17-2020 12:28

Anti Name Change
 
1 Attachment(s)
Anti Name Change By null

Players Can't change name , when someone try to change
Server will say: Sorry, You are not allowed to change name.
PHP Code:

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "ANTI Change Name"
#define VERSION "0.1"
#define AUTHOR "null"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)

}

public 
client_infochanged(id

    new 
newname[32],oldname[32
    
get_user_info(id"name"newname,31
    
get_user_name(id,oldname,31
    if(!
is_user_connected(id) || is_user_bot(id)) return PLUGIN_CONTINUE;
    if(!
equali(newnameoldname))
    {
        
//client_cmd(id, "name ^"%s^"",oldname);
        
set_user_info(id,"name",oldname)
        
client_print(id print_chat "[AMXX] Sorry, You are not allowed to change name.");
        return 
PLUGIN_HANDLED;
    }
    return 
PLUGIN_CONTINUE;


----------------------------
EnJoy !!

fysiks 10-17-2020 14:22

Re: Anti Name Change
 
There are already plugins out there that do this so it's unnecessary to release another one. If you want to use it on your own server, go ahead.

Mohamed null 10-17-2020 18:41

Re: Anti Name Change
 
i knew its not unnecessary but i like it
and u can make to me neox gun for vips ?

zay 10-17-2020 23:19

Re: Anti Name Change
 
Quote:

Originally Posted by Mohamed null (Post 2721640)
Anti Name Change By null

Players Can't change name , when someone try to change
Server will say: Sorry, You are not allowed to change name.
PHP Code:

/* Plugin generated by AMXX-Studio */


You want a [NNCplugin lol no name change plugin
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "ANTI Change Name"
#define VERSION "0.1"
#define AUTHOR "null"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)

}

public 
client_infochanged(id

    new 
newname[32],oldname[32
    
get_user_info(id"name"newname,31
    
get_user_name(id,oldname,31
    if(!
is_user_connected(id) || is_user_bot(id)) return PLUGIN_CONTINUE;
    if(!
equali(newnameoldname))
    {
        
//client_cmd(id, "name ^"%s^"",oldname);
        
set_user_info(id,"name",oldname)
        
client_print(id print_chat "[AMXX] Sorry, You are not allowed to change name.");
        return 
PLUGIN_HANDLED;
    }
    return 
PLUGIN_CONTINUE;


----------------------------
EnJoy !!


He wants a [NNC] plugin No Name Change

OciXCrom 10-18-2020 07:27

Re: Anti Name Change
 
Quote:

Originally Posted by zay (Post 2721742)
He wants a [NNC] plugin No Name Change

No, he is publishing a stolen plugin in the wrong section.

Mohamed null 10-18-2020 10:51

Re: Anti Name Change
 
Its not work your plugin

zay 10-18-2020 10:54

Re: Anti Name Change
 
Quote:

Originally Posted by OciXCrom (Post 2721771)
No, he is publishing a stolen plugin in the wrong section.

He Want this Plugin https://forums.alliedmods.net/showthread.php?t=302005

zay 10-18-2020 10:55

Re: Anti Name Change
 
Quote:

Originally Posted by Mohamed null (Post 2721795)
Its not work your plugin

Null you want this one https://forums.alliedmods.net/showthread.php?t=302005

Mohamed null 10-18-2020 13:38

Re: Anti Name Change
 
zay u want scan too ?
i want it man its hard xd

zay 10-18-2020 13:58

Re: Anti Name Change
 
Quote:

Originally Posted by Mohamed null (Post 2721814)
zay u want scan too ?
i want it man its hard xd

Null I send you private message go check my message and reply


All times are GMT -4. The time now is 12:21.

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