set(name, value) , method of player

Change a setting of a player.

See Player settings. You can also use this function to store and retrieve player specific information.

name type description
name string name of the setting
value primitive can be a integer,float,string or boolean
UB.player(playerID).set("score", 10);

See all methods of the api.