achievements.GetCount

From GMod Wiki

Jump to: navigation, search
Function
Syntax achievements.GetCount( Number AchievementID )
Where is this used?
Description:
Returns the number of how ever close you are to completing the achievement.
Returns: Number Count
Part of Library: Achiv
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Achievements.GetCount]Achievements.GetCount [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionPrints how close you are to being a ball eater :P
Used onNewerClient.png
Code
print(achievements.GetCount(18) .. "/" .. achievements.GetGoal(18))
OutputHow close you are to being a ball eater.
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox