greenpig
-
Posts
3 -
Joined
-
Last visited
Posts posted by greenpig
-
-
If you want to get the SteamID of the user currently signed in,
You can use following: (Client being steam-user instance)
client.steamID;
client.steamID.getSteamID64()
client.steamID.getSteam3RenderedID()
// Function names should be self-explanatory
thanks also i want to ask i tried to use this
var userinfoapi = 'http://backpack.tf/api/users/info/v1?steamids='+ client.steamID.getSteamID64() + '%2C76561198070299574&key=' + config.bptftoken;
it output this
[Finished in 2.009s]
TypeError: Cannot read property 'getSteamID64' of null at [stdin]:vm.js:23:33) at Object.runInThisContext (vm.js:95:38) at Object.<anonymous> ([stdin]-wrapper:6:22) at Module._compile (module.js:571:32) at Immediate.<anonymous> (bootstrap_node.js:392:29) at runCallback (timers.js:666:20) at tryOnImmediate (timers.js:639:5) at processImmediate [as _immediateCallback] (timers.js:611:5)
[Finished in 2.009s]
-
how to use this to get bot steam id?
getsteamid64?
in General
Posted
still not working any other way?