GetMedal() now has two new formats in version 438. (Note: If you use these new formats you will have to verify the server is running version 438 or higher.)
GetMedal("", "") will return a parameter-encoded list of all medals that are available to the hub entry. The result can be converted to a list with params2list(). This always contacts the hub, so it's best to use this only once in a session and store the result for later use.
GetMedal("", player) will return a parameter-encoded list of all medals the player has earned for the game. The result can be converted to a list with params2list(). This can use local information and does not always have to contact the hub.
437 Release Notes | View All