Usage: gms_highscore_score ( list_id, n )


Returns the n'th score on the given highscorelist. 0(zero) will be returned when exceeding server_highscore_count.


//Shows first score on highscorelist '1'
var score_to_beat;
score_to_beat = gms_highscore_score(10)//1e plek
show_message("Score to beat: "+score_to_beat);

Replies (2)

Last message on 1 Mar 2015

PageWizard on 1 Mar 2015, 08:08:13
Is there any way to sync the highscore list (after starting up your game)? I have these mini games in my game that are single player (I just am utilizing the high score list for an online leaderboard), so I need these to update right after a name is entered (using gms_highscore_add_guest(...) ). I need the highscore list for the game to update without needing to restart the executable. If it helps at all, I am using gms_highscore_name(..) and gms_highscore_score(...) to get the data.
Size43 (Administrator) on 1 Mar 2015, 19:31:06
I've fixed this in a server-sided update.