1) How can I find out if it is the first time that a player calls UpdatePlayerStatistics to add his score on a certain leaderboard? I want that each participant gets an item or virtual currency when he/she adds the first time a score on a leaderboard. And only after the leaderboard reset each participant can get another item or virtual currency if he/she adds the first time a score on this new leaderboard version. A player should only get one time a free reward on each leaderboard version.
2) How can I grant a certain item of my shop to all participants of a leaderboard after the reset of a leaderboard? The score of the player doesn't matter. Is it possible to call a cloud script function in this case because I want to call server.WritePlayerEvent. I want to write an event so that I can find out if each participant got a reward after the reset of a leaderboard.