Tom
-
Posts
2 -
Joined
-
Last visited
Posts posted by Tom
-
-
Hey,
im pretty new to JS and i don't know on how to get the accountData from a specific user. i know that this works, but it just gets me the accountData of my logged in account.
csgo.on('accountData', (accountData) => { console.log(accountData); console.log(accountData.player_level); });
How would i make a function to call the accountData of a specific player? Like if someone writes the bot stats it gets the accountData from the player that requested it.
get accountData from the player that writes me (node-globaloffensive)
in node-steam-user
Posted
Got it running if anyone else needs it