Quote:
Originally Posted by AeN0
Known bugs :- Flag is not set back when players changes his/her nickname ingame (need help on this one, I get infinite loop : hooked player_changename, when player changes name, player_changename is fired, I add the flag into the new nick and set the new nick, player_changename is fired again, etc.)
- The plugin does not use the translation layer of soucemod. It's only two phrases so ... edit and recompile source.
|
1. When you set the player name, it follows a certain format. (country-name) or something. So you know how it should look. So what you need to do to stop the loop is simple; check if the name is formated the way you need it, and if so, return Plugin_Continue on the name change event.
2. Adding translation support is very easy, consider doing it. If you need code examples just ask.
__________________