achievements.Count

From GMod Wiki

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


Examples

DescriptionSimply prints how many achievements there are currently in Garry's Mod
Used onNewerClient.png
Code
print(achievements.Count())
OutputOutputs how many achievements are in Garry's Mod to console.
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox