getNextPlayer

getNextPlayer([number entity]) → integer player
Returns the entity that will play after entity. With no parameter, returns the entity that will play after the current player.

Returns the entity that will play after the entity entity. With no parameter, returns the entity that will play after the current entity.

Parameters
Return