get(name) , method of player

Get a setting of a player.

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

Parameters:
name type description
name string name of the setting
Returns

the current value of this setting.

var myvar = UB.player(playerID).get("myvar");

See all methods of the api.