AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Block Changing Names & Amx_nick (https://forums.alliedmods.net/showthread.php?t=307709)

AmerHS 05-21-2018 19:41

Block Changing Names & Amx_nick
 
Hey there, so i recently added a plugin to my server which will Disable Changing Names in server..
This is the disable changing name http://www.mediafire.com/file/ppg2d7...nging_name.sma
You surely know the amx_nick command for Admins..
It was working fine before i added this plugin, but if anyone would help me with this it would be great..
I believe i just need to make an expectation for Admins only to change their names or other players name. Any idea of what to do, Thanks.

karimoo97 05-21-2018 20:11

Re: Block Changing Names & Amx_nick
 
Hello @AmerHS

I had the same problem with the Anti-change-name-fast plugin that I use to easily ban the aimware kids,

Now i Use this plugin by Exolent[jNr]
It's not the best solution as you're limited to 1 amx_nick usage every X defined time,but you can use it while you wait for someone to help

Have a great day

AmerHS 05-21-2018 21:13

Re: Block Changing Names & Amx_nick
 
Ye @karimoo97, i believe that would be helpful for now, it requests any cvars or not really needed?
I'll add that tho thanks for helping.
If there is any other way please feel free to say :D

fysiks 05-22-2018 21:17

Re: Block Changing Names & Amx_nick
 
The original amx_nick command used a bad method for setting player's names. If you use the newest version, it won't be blocked.

P.S. when posting plugin source code, simply attach it to your post, there is no need to use a third party website.

karimoo97 05-22-2018 23:01

Re: Block Changing Names & Amx_nick
 
Quote:

Originally Posted by fysiks (Post 2593431)
The original amx_nick command used a bad method for setting player's names. If you use the newest version, it won't be blocked.

P.S. when posting plugin source code, simply attach it to your post, there is no need to use a third party website.

Excuse me @fysiks
All I have to do is remplace "admincmd.amxx" with this one ? or is there anything else ?

fysiks 05-22-2018 23:15

Re: Block Changing Names & Amx_nick
 
Quote:

Originally Posted by karimoo97 (Post 2593445)
Excuse me @fysiks
All I have to do is remplace "admincmd.amxx" with this one ? or is there anything else ?

You'd need to compile it but I'm sure it would work (I didn't see any code in it that would prevent backwards compatibility).

karimoo97 05-22-2018 23:27

Re: Block Changing Names & Amx_nick
 
https://i.gyazo.com/b8c5cbcbf7c17a71...a99e88c719.png
X is the one you linked,the above one came with amxx
What can be the issue ?

iceeedr 05-23-2018 00:24

Re: Block Changing Names & Amx_nick
 
Quote:

Originally Posted by karimoo97 (Post 2593450)
https://i.gyazo.com/b8c5cbcbf7c17a71...a99e88c719.png
X is the one you linked,the above one came with amxx
What can be the issue ?

Compile with amxx 1.8.3.

fysiks 05-23-2018 02:58

Re: Block Changing Names & Amx_nick
 
Quote:

Originally Posted by karimoo97 (Post 2593450)
https://i.gyazo.com/b8c5cbcbf7c17a71...a99e88c719.png
X is the one you linked,the above one came with amxx
What can be the issue ?

Well, apparently it is using beta-only code. You can try this one which is immediately after amx_nick was fixed.

karimoo97 05-23-2018 06:46

Re: Block Changing Names & Amx_nick
 
1 Attachment(s)
Works like a charm,Thank you sir and have a good day


All times are GMT -4. The time now is 00:41.

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