参数 描述 name The name of the score table (or "Leaderboard"). score The score to be sent.
You can use this function to send your score to the chosen leaderboard and achievement service. You send the name of the score table (the "leaderboard" name that you assigned to your game when you set up the account) and the actual score value).
if achievement_available() achievement_post_score("Leaderboard", 1000);
The above code checks to see if the chosen leaderboard and achievement service is available and if so it posts a score to the score table called "Leaderboard".