Returns: (number) The level of the current user. SteamWorks: GetPlayerSteamLevel
Gets the Steam level of the user, as shown on their Steam community profile.
print('Let me show you some magic') print('Your Steam Level is...') print(Steam.user.getPlayerSteamLevel() .. '!!!')
Returns: (uint64) The SteamID of the current user. SteamWorks: GetSteamID
Gets the Steam ID of the account currently logged into the Steam client. This is commonly called the ‘current user’, or ‘local user’.
A Steam ID is a unique identifier for a Steam accounts, Steam groups, Lobbies and Chat rooms, and used to differentiate users in all parts of the Steamworks API.
local my_id = Steam.user.getSteamID() function isSteamIDFromUser(steam_id) return steam_id == my_id end