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.

Signature:

points = GetAchievementReward(id, index)

Arguments:

  • id - The numeric ID of an achievement or statistic (number)
  • index - Index of one of the achievement's rewards (between 1 and GetAchievementNumRewards(); currently always 1) (number)

Returns:

  • points - Number of achievement points awarded for completing the achievement (number)