I have just a quick question concerning the onPlayerFinish event when being in rounds mode. Is it always ensured that when I only rely on this event that I get the ranking in the correct order in rounds mode like Nadeo would show it on the right side and distributing points accordingly? So when I do the following in the pseudo code below, will I get the correct result in the onRoundEnd function?
Code: Select all
...
$finishs = array();
...
function onPlayerFinish($aseco, $finish)
{
$player = $finish->player;
$finishs[] = $player;
}
...
// Called when the round ends (once all have finished or time is up)
function onEndRound($aseco)
{
// Will I always get here the same ordering as Nadeo would show it for distributing points?
foreach($finishs as $player)
{
Aseco::console($player->login);
}
}

Appreciate your help,
Cheers,
Knights.Coolthing
P.S.: What is exactly fixed in the onPlayerFinished1 event, would you recommand to use that one instead?