Garry's Mod Wiki

Revision Difference

achievements.Count#567725

<function name="Count" parent="achievements" type="libraryfunc"> <description>Returns the amount of all achievements currently in Garry's Mod.</description> <description>Returns the amount of achievements currently in Garry's Mod.</description> <realm>Client and Menu</realm> <rets> <ret name="" type="number">The amount of all achievements available. This will be plus 1 because arrays in C start with zero, but all the actual achievements start from index 1.</ret> <ret name="" type="number">The amount of achievements available. This will include 1 extra hidden/non functional achievement at index 0.</ret> </rets> </function>