achievements.GetDesc

From GMod Wiki

Jump to: navigation, search
Function
Syntax achievements.GetDesc( Number AchievementID )
Where is this used?
Description:
Returns the description of the achievement.
Returns: String Description
Part of Library: Achiv
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Achievements.GetDesc]Achievements.GetDesc [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionPrints how to get the achievement
Used onNewerClient.png
Code
print("Description: " .. achievements.GetDesc(5))
OutputHow to get the achievement.
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox