Garry's Mod Wiki

Garry's Mod Wiki

  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.

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...