Quantcast
WoWInterface - View Single Post - My LUA code dont work in new API 8.3.0 [ auction ] ]
View Single Post
05-07-20, 09:33 AM   #3
lungdesire
A Deviate Faerie Dragon
Join Date: May 2020
Posts: 13
Ok. Why this code dont work?

Code:
local frame = CreateFrame("Frame");
frame:RegisterEvent("AUCTION_HOUSE_SHOW");
frame:Hide();

frame:SetScript("OnEvent", function(self, event, ...)

  if (event == "AUCTION_HOUSE_SHOW") then
  local name, texture, count, quality, canUse, level, levelColHeader, minBid, minIncrement,
  buyoutPrice, bidAmount, highBidder, highBidderFullName, owner, ownerFullName,
  saleStatus, itemId, hasAllInfo = C_AuctionHouse.ReplicateItems("Anchor Weed", nil, nil, 0, 0 , 0, 0, 0, 0, false, false);
  print(name)
  end
end)
  Reply With Quote