Garry's Mod Wiki

Garry's Mod Wiki

  number achievements.GetCount( number achievementID )

Description

Retrieves progress of given achievement.

Arguments

1 number achievementID
The ID of the achievement.

Returns

1 number
The numerical progress.

One-time achievements always have the progress of 0.

Example

Prints your current progress for every achievement into the console.

for i = 1, achievements.Count() - 1 do print( achievements.GetName( i ), achievements.GetCount( i ) ) end

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...