I successfully call leaderboard by:
1) But I can't get score from leaderboard to a variable. I failed trying both below:
var xp = GooglePlay.play_games_services.retrieveLeaderBoardScore(leaderboardID, "ALL_TIME", "ALL")
xp = int(GooglePlay.play_games_services.retrieveLeaderBoardScore("leaderboardID", "ALL_TIME", "ALL"))
2) Also I can't send data to leaderboard. I failed trying both below:
What am I doing wrong and what is the correct way in examples?
Thank you for your time!