gms_statistic_set

Usage: gms_statistic_set ( name, value )

Description

Saves a new value for the statistic.

Example

//Increase number of pixels walked
var old_value;
old_value = gms_statistic_get("pixels_walked");
gms_statistic_set("pixels_walked", old_value + 5)

Replies (0)

Last message on 23 May 2017