I believe you can use class, struct or tuple to do that.
I don’t know why you need a 2D array here, but the easiest way would be using a tuple for sure, like this :
var PlayerData : [][]tuple(player, int) = array{}
if(Player := PlayerData[0][0](0), Value := PlayerData[0][0](1)):
# Do smth
But maybe you need to look into maps instead, I believe what you’re looking for is var PlayerData : [player]int = map{}
Hope it helps, if it doesn’t maybe you can explain better what you’re trying to achieve ?