achievements.GetName

From GMod Wiki

Jump to: navigation, search
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: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Achievements.GetName]Achievements.GetName [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionPrints the name of the achievement
Used onNewerClient.png
Code
print(achievements.GetName(3) .. " is the name of achievment number 3.")
OutputThe name of the achievement.
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox