12.11.2016, 11:56
You can't detect if a track ended, but one way is like creating a variable for each song that contains the length of the song (seconds) then you create another variable for each player that stores the seconds that the song was played for and then you check if the player's seconds variable equals or is higher than the song's seconds variable, if it is then you play the next song and reset the player's seconds variable. That's not too good thing to do lol.