Facepunch.Steamworks Wiki

Revision Difference

Get_a_Stat_Value#517228

<cat>code.stats</cat>⤶ <title>Get a Stat Value</title> Stats are stored as int or a float. <warning>Each stat needs to be set up on the Steamworks Site and changes published before you can use them</warning> ``` var killCount = Steamworks.SteamUserStats.GetStatInt( "KillCount" ); var healthTaken = Steamworks.SteamUserStats.GetStatFloat( "HealthTaken" ); ```