Garry's Mod Wiki

Revision Difference

achievements.Count#567722

<function name="Count" parent="achievements" type="libraryfunc"> <description>Returns the amount of achievements in Garry's Mod.</description> <description>Returns the amount of all achievements currently in Garry's Mod.</description> <realm>Client and Menu</realm> <rets> <ret name="" type="number">The amount of achievements available.</ret>⤶ <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>⤶ </rets> </function>⤶ </function>