AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   restrict setinfo name (https://forums.alliedmods.net/showthread.php?t=153669)

mrgregory 03-27-2011 11:28

restrict setinfo name
 
Hello. From a search i've done for days, i couldn't find an answer, so i decided to create my own topic.

My question is: I have a mirc script that "sees" when a user changes his name ingame(CS 1.6), and then sends a cmd to the server (amx_nick) and changes the name of that user. My problem is that, when the user uses setinfo name, amx_nick does not work. Is there a solution to that? Is there a way either to make amx_nick work when setinfo name is triggered OR to have setinfo name restricted by another amxx script?

Thanks in advance.

fysiks 03-27-2011 13:29

Re: restrict setinfo name
 
Are you just trying to prevent them from changing their name? I.e. you just change their name back to what they had previously with your "script"?

If yes, just install a "no name change" plugin.

mrgregory 04-03-2011 05:03

Re: restrict setinfo name
 
Quote:

Originally Posted by fysiks (Post 1440233)
If yes, just install a "no name change" plugin.

such as? none of the scripts/plugins i've tried, prevent users changing their name using setinfo name..

fysiks 04-03-2011 21:18

Re: restrict setinfo name
 
Using "setinfo name new_name" or "name new_name" should be irrelevant. Try this one (ignore the Nuclera's request).


All times are GMT -4. The time now is 14:40.

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