Type Function Return value none Revision Release 2025.3721 Keywords Google Play Games Services, game network, gpgs, multiplayer, turn-based, showSelectPlayers See also gpgs.multiplayer.turnbased gpgs.multiplayer gpgs.*
Shows a view that will let the user select players to invite to a
The minimum and maximum number of players passed in should be the desired number of additional players to select — this does not include the current player. So, for a game that should handle between 2 and 4 players, minPlayers would be 1 and maxPlayers would be 3.
gpgs.multiplayer.turnbased.showSelectPlayers( params )
Table. Contains parameters for the call — see the next section for details.
The params table contains parameters for the call.
String. Pre-selects this player to join the match.
Array. Populate with string elements to playerId.
Number. The minimum number of players to select in addition to the current player.
Number. The maximum number of players to select in addition to the current player.
Boolean. If true, displays an option for selecting
Listener. Listener function which receives a showSelectPlayers event.