undef.de wrote:Should this not be easily possible with the (unfortunately unavailable in TM) CTmMode::Spectators?
The Players array in the manialink scripts contains all players on the server(players and spectators). With something like this you should be able to differentiate spectators from players :
if (GUIPlayer != Null) {
log("GUIPlayer is "^GUIPlayer.Name);
} else {
log("GUIPlayer is NULL");
}
I did see null while switching between players but beside that always my nickname was in the logs never saw the nickname of the player I spectate.
I tried in Script & Legacy Rounds mode as I needed the feature there.
Can you please fix this?
xbx fixed the bug, it will be available in the next update.
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...