Convert playerindex