Player.SteamIDTo64
Skip to content
mnscript
string Player.SteamIDTo64(string) 

Description ​

Returns the SteamID64 representation of the SteamID

Arguments ​

string - The SteamID to convert

Returns ​

string - The SteamID64

Example ​

msc
using Player;
using Console;

// Prints the 64 bit version of the SteamID STEAM_0:1:34409736

var steamid64 = Player.SteamIDTo64("STEAM_0:1:34409736");
Console.WriteLine("64 bit SteamID: "..steamid64);

// SteamID54 is also used in steam account links
// So we can create the link to someone's profile using them!

string profileLink = "http://steamcommunity.com/profiles/"..steamid64;