Returns the number of achievement points awarded for earning an achievement.
Currently all achievements and statistics offer one reward (according to this function), though the rewards offered by statistics are all zero points.
See also Achievement functions.
id- The numeric ID of an achievement or statistic (
index- Index of one of the achievement's rewards (between 1 and GetAchievementNumRewards(); currently always 1) (
points- Number of achievement points awarded for completing the achievement (