![]() |
TServerPlayer.onNickChanges(str, str)
Quote:
onPlayerNickChanges(pl) works, but it only passes a player object in the parameters so I would have to keep track of the players old nickname manually. That seems silly to do when there's supposed to be another event that does exactly what I need. |
I believe you have to catch the event. I told Chris this but I don't know if he ever relayed the message to you.
Try something like: PHP Code:
|
Quote:
Edit: I'm wondering if this has something to do with having a custom nickname system on era? Edit x2: enabled default nicknames and it still didn't work, so scratch that |
I tried as well with no luck, both serverside and clientside. I also searched the wiki for onNickChanges, with no results.
There is no mention of it in graal -listscriptfunctions either, but that doesn't list events at all, so no surprises there I guess. Maybe it just somehow got added into /scripthelp without the event actually being triggered, or maybe it's just not catchable. |
Maybe it just doesn't work, or maybe it will work in the new version.
|
I sent a PM to Stefan, so incase anyone was wondering...
Quote:
|
*bump*
Looks like this havenīt been fixed. I also tried the code Tig posted (serverside and clientside) PHP Code:
|
You could do a check like this:
PHP Code:
|
All times are GMT +2. The time now is 11:10 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.