-
Normal User
- Reputation
- 10
- Rep Power
- 6
quem poder me ajudar nessa action
eu uso um sript mais quando ele vai vender os loots dos deeplings ele só vende os loots que a bp estiver aberta e so abre 2 bps, se alguem me ajudar pra ele vender mesmo sem ver os items ou abrir 4 bps. a action abaixo
npcsay('creature products')
wait(2000,3000)
local ITEMS_TO_SELL = {'deepling claw', 'key to the drowned library', 'deeptags', 'spellsinger seal', 'deepling guard belt buckle', 'deepling warts', 'eye of the deepling', 'deepling breaktime snack', 'deepling scales', 'deepling ridge', 'spellsingers seal', 'eye of a deepling'}
for i=1, #ITEMS_TO_SELL do
if (itemcount(ITEMS_TO_SELL[i]) > 0) then
sellitems(itemid(ITEMS_TO_SELL[i]), itemcount(ITEMS_TO_SELL[i]))
wait(500, 800)
end
end
npcsay('local equipment')
wait(2000,3000)
local ITEMS_TO_SELL = {'ornate crossbow', 'warriors axe', 'guardian axe', 'warriors shield', 'deepling squelcher', 'deepling staff', 'necklace of the deep'}
for i=1, #ITEMS_TO_SELL do
if (itemcount(ITEMS_TO_SELL[i]) > 0) then
sellitems(itemid(ITEMS_TO_SELL[i]), itemcount(ITEMS_TO_SELL[i]))
wait(500, 800)
end
end
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules