achievements.GetName
From GMod Wiki
| Function | |
| Syntax |
achievements.GetName( Number AchievementID ) Where is this used? |
| Description: | |
| Returns the name of the achievement. | |
| Returns: | String Name |
| Part of Library: | Achiv |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Achievements.GetName]Achievements.GetName [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Prints the name of the achievement |
|---|---|
| Used on | |
| Code | print(achievements.GetName(3) .. " is the name of achievment number 3.") |
| Output | The name of the achievement. |