Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- python:
- def __AuctionItems(self, items):
- #chat.AppendChat(chat.CHAT_TYPE_INFO, str(items[1][1]))
- constInfo.au_items.append(items)
- lua:
- quest auction begin
- state start begin
- function import_items()
- res = mysql_query("SELECT vnum,price FROM player.auction")
- for i = 1,table.getn(res) do
- cmdchat("import_au "..res[i])
- end
- return
- end
- when login begin
- auction.import_items()
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement