Garry's Mod Wiki

achievements.GetDesc

string achievements.GetDesc( number achievementID )

Description

Retrieves description of given achievement

Arguments

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

Returns

1 string
Description of an achievement

Example

Will print achievement descriptions for all of your achievements into console

for i = 0, achievements.Count() - 1 do print( achievements.GetDesc( i ) ) end
Output: Prints achievement descriptions for all of your achievements into console.

Page Links


Special Pages


Wikis

?

Render Time: 30ms

Session 0
DB GetPage 2
Generate Html 6
SaveChanges 8
Render Body 0
Render Sidebar 11