Garry's Mod Wiki

GM:OnAchievementAchieved

GM:OnAchievementAchieved( Player ply, number achievement )

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

1 Player ply
The player that earned the achievement
2 number achievement
The index of the achievement

Page Links


Special Pages


Wikis

?

Render Time: 42ms

Session 0
DB GetPage 4
Generate Html 5
SaveChanges 21
Render Body 0
Render Sidebar 10