From Garry's Mod
Retrieves progress goal of given achievement
The ID of achievement to retrieve goal of. Note: IDs start from 0, not 1.
Progress goal of an achievement
Will print achievement progress and goals for all of your achievements into console
for i = 0, achievements.Count() - 1 do print( achievements.GetCount( i ) .. " / " .. achievements.GetGoal( i ) ) end
Prints achievement progress and goals for all of your achievements into console.