Advertisement
Guest User

Untitled

a guest
Jul 1st, 2014
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. python:
  2. def __AuctionItems(self, items):
  3. #chat.AppendChat(chat.CHAT_TYPE_INFO, str(items[1][1]))
  4. constInfo.au_items.append(items)
  5. lua:
  6. quest auction begin
  7. state start begin
  8. function import_items()
  9. res = mysql_query("SELECT vnum,price FROM player.auction")
  10. for i = 1,table.getn(res) do
  11. cmdchat("import_au "..res[i])
  12. end
  13. return
  14. end
  15. when login begin
  16. auction.import_items()
  17. end
  18. end
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement