Garry's Mod Wiki

achievements.GetName

string achievements.GetName( number achievementID )

Description

Retrieves name of given achievement

Arguments

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

Returns

1 string
Name of an achievement

Example

Will print all achievement names into console

for i = 0, achievements.Count() - 1 do print( achievements.GetName( i ) ) end
Output: Prints all achievement names into console

Page Links


Special Pages


Wikis

?

Render Time: 53ms

DB GetPage 10
Generate Html 9
SaveChanges (1) 21
Render Body 0
Render Sidebar 11