View Single Post
samobiezny133
Junior Member
Join Date: Jan 2024
Old 01-14-2024 , 02:47   Re: nickname changer
Reply With Quote #4

Quote:
Originally Posted by fysiks View Post
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).
I trimmed the script a bit. I just need each nickname to be replaced with one of the nicknames from the pool. I already have a plugin that stops the player from changing their nickname. Honestly, I don't know anything about programming (I thought it is a little easier and I think my brain is probably too old to learn it, haha). I need this plugin for a private server where I play with friends from my student days. Could you edit the script for me to change the nickname for everyone, regardless of whether their name is player or not? I would be very grateful.

Script modified by me : https://pastebin.com/9QpqkewJ

Last edited by samobiezny133; 01-14-2024 at 03:33.
samobiezny133 is offline