Type Function
Return value none
Revision 2019.3527
Keywords Google Play Games Services, game network, gpgs, leaderboards, submit
See also gpgs.leaderboards


Submits a score to a specific leaderboard.


gpgs.leaderboards.submit( params )
params (required)

Table. Contains parameters for the call — see the next section for details.

Parameter Reference

The params table contains parameters for the call.

leaderboardId (required)

String. Leaderboard ID to submit to.

score (required)

Number. The score value.

tag (optional)

String. Optional additional info. Must be URL-encoded and a maximum size of 64 bytes.

listener (optional)

Listener. Listener function which receives a submit event.