gms_achievement_count

Usage: gms_achievement_count ( )

Description

Returns the number of achievements. This can be used in combination with server_achievement_find to go through all achievements.

Example

//Loop through all achievements, and show them with show_message
var n, ach_name;
for(n = 0; n < gms_achievement_count(); n += 1)
{
show_message(gms_achievement_description(gms_achievement_find(n)));
}

Replies (0)

Last message on 26 May 2017