nickname changer
Hello, I would like to create a plugin that changes the nickname of each player joining the server to one of the nicknames from my pool. I would also like the plugin to draw a nickname from the pool every time the map changes, and so that the drawn nickname cannot be changed by the player.
How to do it? |
Re: nickname changer
I basically do this already but specifically for players who have the default name "Player". You should be able to modify it as needed. You'll have to change the logic for preventing a name change because I only disallow "Player" but it shouldn't be that hard.
https://github.com/fysiks1/amxx-noplayername There are other examples out there for preventing name changes if you search for them. Might need to use an actual search engine though since you can't search for the term "player" on this forum (because it's too popular a term). |
Re: nickname changer
Quote:
Thank you very much! I'll work on your script a bit and try to adapt it to my needs. Your help is invaluable. Best regards and have a nice day. |
Re: nickname changer
Quote:
Script modified by me : https://pastebin.com/9QpqkewJ |
Re: nickname changer
you are talking about changing or adding a nickname to the existing name...
Code:
or Code:
|
Re: nickname changer
Quote:
|
Re: nickname changer
another detail is to avoid duplicates
|
Re: nickname changer
Quote:
In this case, I will disable this plugin so that it does not conflict with the nickname change plugin. |
Re: nickname changer
Quote:
|
Re: nickname changer
1 Attachment(s)
Ok, so here is this plugin working based on my understanding of your request.
|
All times are GMT -4. The time now is 17:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.