Names , blocking and changing both
Hey.
I need some help on name changing. Saw some threads about names, points and stuff , but that's not exactly it. I need to block player from changing names, but still be able to change them myself when I need it. This: PHP Code:
|
Re: Names , blocking and changing both
Just looked at the funcwiki, maybe u could do this?
PHP Code:
|
Re: Names , blocking and changing both
Whats the point of this func ? It also blocks all name changes, just lets through if oldname == newname. I need a way server could recognize , where I change player name , and let me do it , but if a player tries to do it , stop him.
EDIT: Tried this: PHP Code:
thought if I changed oldname into the name I want , everything would work , but this func ended in an infinite loop , don't know how to get out of it. If someone could show me the right path in achieving what I want, I would be very grateful. Full code isn't needed , just a working idea. Thanks anybody in advance. |
| All times are GMT -4. The time now is 21:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.