Garry's Mod Wiki

achievements.GetCount

achievements.GetCount( number achievementID )

Description

Retrieves progress of given achievement

Arguments

1 number achievementID
The ID of achievement to retrieve progress of. Note: IDs start from 0, not 1.

Example

Will print achievement progress for all of your achievements into console

for i = 0, achievements.Count() - 1 do print( achievements.GetCount( i ) ) end
Output: Prints achievement progress for all of your achievements into console. Note: Non-progress based achievements will have 0, even if they are completed

Page Links


Special Pages


Wikis

?

Render Time: 31ms

DB GetPage 3
Generate Html 5
SaveChanges (1) 8
Render Body 0
Render Sidebar 12