Raised This Month: $203 Target: $400
 50% 

Block Changing Names & Amx_nick


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AmerHS
New Member
Join Date: May 2018
Old 05-21-2018 , 19:41   Block Changing Names & Amx_nick
Reply With Quote #1

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.
AmerHS is offline
karimoo97
Member
Join Date: Apr 2018
Location: Tamazgha
Old 05-21-2018 , 20:11   Re: Block Changing Names & Amx_nick
Reply With Quote #2

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
karimoo97 is offline
AmerHS
New Member
Join Date: May 2018
Old 05-21-2018 , 21:13   Re: Block Changing Names & Amx_nick
Reply With Quote #3

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
AmerHS is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-22-2018 , 21:17   Re: Block Changing Names & Amx_nick
Reply With Quote #4

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.
__________________
fysiks is offline
karimoo97
Member
Join Date: Apr 2018
Location: Tamazgha
Old 05-22-2018 , 23:01   Re: Block Changing Names & Amx_nick
Reply With Quote #5

Quote:
Originally Posted by fysiks View Post
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 ?
karimoo97 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-22-2018 , 23:15   Re: Block Changing Names & Amx_nick
Reply With Quote #6

Quote:
Originally Posted by karimoo97 View Post
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).
__________________
fysiks is offline
karimoo97
Member
Join Date: Apr 2018
Location: Tamazgha
Old 05-22-2018 , 23:27   Re: Block Changing Names & Amx_nick
Reply With Quote #7


X is the one you linked,the above one came with amxx
What can be the issue ?

Last edited by karimoo97; 05-22-2018 at 23:30.
karimoo97 is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 05-23-2018 , 00:24   Re: Block Changing Names & Amx_nick
Reply With Quote #8

Quote:
Originally Posted by karimoo97 View Post

X is the one you linked,the above one came with amxx
What can be the issue ?
Compile with amxx 1.8.3.
iceeedr is online now
Send a message via Skype™ to iceeedr
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-23-2018 , 02:58   Re: Block Changing Names & Amx_nick
Reply With Quote #9

Quote:
Originally Posted by karimoo97 View Post

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.
__________________
fysiks is offline
karimoo97
Member
Join Date: Apr 2018
Location: Tamazgha
Old 05-23-2018 , 06:46   Re: Block Changing Names & Amx_nick
Reply With Quote #10

Works like a charm,Thank you sir and have a good day
Attached Files
File Type: sma Get Plugin or Get Source (admincmd.sma - 517 views - 32.8 KB)

Last edited by karimoo97; 05-23-2018 at 06:47.
karimoo97 is offline
Reply


Thread Tools
Display Modes

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 11:35.


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