GM:OnAchievementAchieved

From Garry's Mod
Jump to: navigation, search
 GM:OnAchievementAchieved( )

Description

Called when a player has achieved an achievement. You can get the name and other information from an achievement ID with the achievements library.

Arguments

Player ply

The player that earned the achievement

Arguments

number achievement

The index of the achievement
Personal tools
Navigation