Garry's Mod Wiki

Garry's Mod Wiki

  boolean achievements.IsAchieved( number AchievementID )

Description

Used in GMod 12 in the achievements menu to show the user if they have unlocked certain achievements.

Arguments

1 number AchievementID
Internal Achievement ID number

Returns

1 boolean
Returns true if the given achievementID is achieved.

Example

Prints true if you got the achievement.

print("Did you get achievement number 7?, " .. achievements.IsAchieved(7))
Output: boolean true (assuming you have unlocked achievement 7)

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...