Creditos:
---Clic 98%--- por ter feito as 508 linhas de action
---Colex2%--por causa de um maldito ) nao funfafa!!
Para kem nao ker ler 508 linhas baxe a action aki!!!
function onUse(cid, item, frompos, item2, topos)if item2.itemid == 2498 then
if doPlayerRemoveItem(cid,2498,1) == 1 then
doPlayerAddItem(cid,2160,2)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2498) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2475 then
if doPlayerRemoveItem(cid,2475,1) == 1 then
doPlayerAddItem(cid,2152,30)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2475) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2497 then
if doPlayerRemoveItem(cid,2497,1) == 1 then
doPlayerAddItem(cid,2152,100)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2497) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2491 then
if doPlayerRemoveItem(cid,2491,1) == 1 then
doPlayerAddItem(cid,2152,20)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2491) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2462 then
if doPlayerRemoveItem(cid,2462,1) == 1 then
doPlayerAddItem(cid,2152,20)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2462) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2663 then
if doPlayerRemoveItem(cid,2663,1) == 1 then
doPlayerAddItem(cid,2152,5)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2663) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2458 then
if doPlayerRemoveItem(cid,2458,1) == 1 then
doPlayerAddItem(cid,2148,35)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2458) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2459 then
if doPlayerRemoveItem(cid,2459,1) == 1 then
doPlayerAddItem(cid,2148,30)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2459) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2645 then
if doPlayerRemoveItem(cid,2645,1) == 1 then
doPlayerAddItem(cid,2160,2)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2645) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2195 then
if doPlayerRemoveItem(cid,2195,1) == 1 then
doPlayerAddItem(cid,2152,40)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2195) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2472 then
if doPlayerRemoveItem(cid,2472,1) == 1 then
doPlayerAddItem(cid,2160,10)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2472) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2492 then
if doPlayerRemoveItem(cid,2492,1) == 1 then
doPlayerAddItem(cid,2160,3)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2492) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2466 then
if doPlayerRemoveItem(cid,2466,1) == 1 then
doPlayerAddItem(cid,2160,1)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2466) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2487 then
if doPlayerRemoveItem(cid,2487,1) == 1 then
doPlayerAddItem(cid,2152,50)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2487) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2476 then
if doPlayerRemoveItem(cid,2476,1) == 1 then
doPlayerAddItem(cid,2152,30)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2476) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2656 then
if doPlayerRemoveItem(cid,2656,1) == 1 then
doPlayerAddItem(cid,2152,30)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2656) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2500 then
if doPlayerRemoveItem(cid,2500,1) == 1 then
doPlayerAddItem(cid,2152,10)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2500) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2463 then
if doPlayerRemoveItem(cid,2463,1) == 1 then
doPlayerAddItem(cid,2152,3)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2463) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2465 then
if doPlayerRemoveItem(cid,2465,1) == 1 then
doPlayerAddItem(cid,2152,2)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2465) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2464 then
if doPlayerRemoveItem(cid,2464,1) == 1 then
doPlayerAddItem(cid,2152,1)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2464) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2470 then
if doPlayerRemoveItem(cid,2470,1) == 1 then
doPlayerAddItem(cid,2160,8)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2470) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2488 then
if doPlayerRemoveItem(cid,2488,1) == 1 then
doPlayerAddItem(cid,2152,50)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2488) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2477 then
if doPlayerRemoveItem(cid,2477,1) == 1 then
doPlayerAddItem(cid,2152,30)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2477) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2647 then
if doPlayerRemoveItem(cid,2647,1) == 1 then
doPlayerAddItem(cid,2152,5)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2647) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2478 then
if doPlayerRemoveItem(cid,2478,1) == 1 then
doPlayerAddItem(cid,2152,1)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2478) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2478 then
if doPlayerRemoveItem(cid,2478,1) == 1 then
doPlayerAddItem(cid,2148,50)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2478) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2514 then
if doPlayerRemoveItem(cid,2514,1) == 1 then
doPlayerAddItem(cid,2160,8)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2514) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2520 then
if doPlayerRemoveItem(cid,2520,1) == 1 then
doPlayerAddItem(cid,2160,4)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2520) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2534 then
if doPlayerRemoveItem(cid,2534,1) == 1 then
doPlayerAddItem(cid,2152,40)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2534) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2536 then
if doPlayerRemoveItem(cid,2536,1) == 1 then
doPlayerAddItem(cid,2152,35)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2536) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2537 then
if doPlayerRemoveItem(cid,2537,1) == 1 then
doPlayerAddItem(cid,2152,30)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2537) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2519 then
if doPlayerRemoveItem(cid,2519,1) == 1 then
doPlayerAddItem(cid,2152,20)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2519) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2528 then
if doPlayerRemoveItem(cid,2528,1) == 1 then
doPlayerAddItem(cid,2152,20)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2528) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2516 then
if doPlayerRemoveItem(cid,2516,1) == 1 then
doPlayerAddItem(cid,2152,15)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2516) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2515 then
if doPlayerRemoveItem(cid,2515,1) == 1 then
doPlayerAddItem(cid,2152,12)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2515) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2518 then
if doPlayerRemoveItem(cid,2518,1) == 1 then
doPlayerAddItem(cid,2152,10)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2518) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2525 then
if doPlayerRemoveItem(cid,2525,1) == 1 then
doPlayerAddItem(cid,2152,1)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2525) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2393 then
if doPlayerRemoveItem(cid,2393,1) == 1 then
doPlayerAddItem(cid,2160,1)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2393) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2407 then
if doPlayerRemoveItem(cid,2407,1) == 1 then
doPlayerAddItem(cid,2152,60)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2407) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2396 then
if doPlayerRemoveItem(cid,2396,1) == 1 then
doPlayerAddItem(cid,2152,40)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2396) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2392 then
if doPlayerRemoveItem(cid,2392,1) == 1 then
doPlayerAddItem(cid,2152,100)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2392) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2409 then
if doPlayerRemoveItem(cid,2409,1) == 1 then
doPlayerAddItem(cid,2152,100)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2409) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2383 then
if doPlayerRemoveItem(cid,2383,1) == 1 then
doPlayerAddItem(cid,2152,8)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2383) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2377 then
if doPlayerRemoveItem(cid,2377,1) == 1 then
doPlayerAddItem(cid,2152,4)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2377) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2413 then
if doPlayerRemoveItem(cid,2413,1) == 1 then
doPlayerAddItem(cid,2148,70)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2413) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2406 then
if doPlayerRemoveItem(cid,2406,1) == 1 then
doPlayerAddItem(cid,2148,30)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2406) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2385 then
if doPlayerRemoveItem(cid,2385,1) == 1 then
doPlayerAddItem(cid,2148,25)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2385) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2376 then
if doPlayerRemoveItem(cid,2376,1) == 1 then
doPlayerAddItem(cid,2148,25)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2376) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2414 then
if doPlayerRemoveItem(cid,2414,1) == 1 then
doPlayerAddItem(cid,2160,1)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2414) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2432 then
if doPlayerRemoveItem(cid,2432,1) == 1 then
doPlayerAddItem(cid,2160,1)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2432) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2430 then
if doPlayerRemoveItem(cid,2430,1) == 1 then
doPlayerAddItem(cid,2152,20)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2430) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2387 then
if doPlayerRemoveItem(cid,2387,1) == 1 then
doPlayerAddItem(cid,2152,2)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2387) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2381 then
if doPlayerRemoveItem(cid,2381,1) == 1 then
doPlayerAddItem(cid,2152,2)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2381) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2378 then
if doPlayerRemoveItem(cid,2378,1) == 1 then
doPlayerAddItem(cid,2152,1)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2378) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2388 then
if doPlayerRemoveItem(cid,2388,1) == 1 then
doPlayerAddItem(cid,2148,20)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2388) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2391 then
if doPlayerRemoveItem(cid,2391,1) == 1 then
doPlayerAddItem(cid,2152,40)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2391) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2436 then
if doPlayerRemoveItem(cid,2436,1) == 1 then
doPlayerAddItem(cid,2152,40)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2436) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2434 then
if doPlayerRemoveItem(cid,2434,1) == 1 then
doPlayerAddItem(cid,2152,20)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2434) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2423 then
if doPlayerRemoveItem(cid,2423,1) == 1 then
doPlayerAddItem(cid,2152,2)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2423) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2417 then
if doPlayerRemoveItem(cid,2417,1) == 1 then
doPlayerAddItem(cid,2148,60)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2417) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2398 then
if doPlayerRemoveItem(cid,2398,1) == 1 then
doPlayerAddItem(cid,2148,30)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2398) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2171 then
if doPlayerRemoveItem(cid,2171,1) == 1 then
doPlayerAddItem(cid,2152,20)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2171) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
elseif item2.itemid == 2661 then
if doPlayerRemoveItem(cid,2661,1) == 1 then
doPlayerAddItem(cid,2152,5)
doPlayerSendTextMessage(cid,22,"Vc vendeu ".. getItemName(2661) .." com sucesso!")
else
doPlayerSendCancel(cid,"Vc não tem esse item!")
end
end
return 1
end
Bom essa action é boa!!!!
em vez de vc fika indo no npc vende os seus itens no meio da caçada vc pode muito bem usa essa runa!!!
Vc Clica no item e vc vende ele seja onde vc estiver!!!!!
Se pega essa action e a sell rune por rune eu acho q fika bom vc vende e ja compra rune!!!
interessante!!!
Bom é isso!!! flw!!!
Comentem plz!!!