SHARE
TWEET

Untitled

a guest Mar 8th, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     else if (MSG.toUpperCase().indexOf("!MYINVENTORY") >= 0) {
  2.         manager.getUserInventoryContents(steamID.getSteamID64(), 570, 2, true, (ERR, inventory,) => {
  3.             if (ERR) {
  4.                 console.log("An error occurred while loading client inventoryentory.");
  5.                 client.chatMessage(steamID, "An error occurred while loading your inventory. Please try again.");
  6.             }
  7.             else {
  8.                 for(var i in inventory) {
  9.                 var item = inventory[i].market_hash_name;
  10.                     if(DB[inventory[i].market_hash_name]) {
  11.                         client.chatMessage(steamID, "" + inventory[i].market_hash_name + " = $" + DB[inventory[i].market_hash_name].buy + ".");
  12.                     }
  13.                 }
  14.             }
  15.         });
  16.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top