Facepunch.Steamworks Wiki

Steamworks.Friend.GetStatFloat

Syntax

float GetStatFloat( string statName, float defult = 0 )

Description

Gets a user stat. Must call RequestUserStats first.

Arguments

string statName
The name of the stat you want to get
float defult 0
Will return this value if not available

Returns

float
The value, or defult if not available