If you request the Multiplayer-Rankings of a Player, the ranking-array always is empty.
Example code:
Code: Select all
$players = new TrackMania_Players(TMWS_USER, TMWS_PASS);
$multi = $tmPlayers->getMultiplayerRanking('m4rcel');
var_dump($multi);
Code: Select all
object(stdClass)#20 (4) {
["environment"]=>
string(5) "Merge"
["unit"]=>
string(13) "Ladder Points"
["points"]=>
string(8) "72112.01"
["ranks"]=>
array(0) {
}
}
Please have a look on this
Marcel