KU

Aol Automatico

Por Kuro o Shiniga, 16 de jan. de 2011 em Globalevents e Spells

otserv
tibia
script
3
1.9k
Kuro o ShinigaK
16 de janeiro de 2011 às 15:46

Eae Galera :smile_positivo:

 

 

Venho Trazer Um Script Bem Manero Comprar Aol Automatico Isso E Bem Legal Você Não Perde Tanto Tempo Indo Ate A Loja Compra Aol :wink_smile:

 

 

 

Então Vamos Começar :positive:

 

 

 

 

CreatureScripts Adicione

 

 

<event type="login" name="AolBuy" event="script" value="nomedoarquivoluaquevccriou.lua"/>

 

 

 

Crie Um Arquivo Lua Retire O Que Tem Dentro E Adicione

 

 

 

local config = {

storage = 3500,

price = 10000;

};

 

function onLogin(cid)

 

if getPlayerStorageValue(cid, (config.storage)) == 0 then

return TRUE

end

 

if getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 2173 then

return TRUE

end

 

if getPlayerMoney(cid) < (config.price) then

doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"WARNING: Você Não Tem Grana Manolo.")

return TRUE

end

 

 

Depois Em TalkActions Adicione

 

 

<talkaction words="/aol" hide="yes" event="script" value="aol.lua"/>

 

 

 

Copie Um Arquivo Lua Remova O Que Tem Dentro E Adicione

 

 

 

function onSay(cid, words, param, channel)

if(param == '') then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.")

return true

end

 

if(param == 'on') then

doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"Você Ativou O Comprador De Aol.")

doPlayerSetStorageValue(cid, 3500, 1)

return true

end

 

if(param == 'off') then

doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"Você Desativou O Comprador De Aol.")

doPlayerSetStorageValue(cid, 3500, 0)

return true

end

 

return true

end

 

 

 

E Isso Espero que Gostem :penguin:

 

 

Caso Tenha Duvidas Deixe Um Comentario Estarei Disposto A Ajudar :yes:

Editado Janeiro 16 por Pinpao

3 semanas depois...
31 de janeiro de 2011 às 14:49

uma pergunta qual o comando que utiliza pra comrpar o aol? e quato custa usando o comando?

Kuro o ShinigaK
03 de fevereiro de 2011 às 00:23

Cara Ali Em Talk Fala O Comando Custa O Mes Preço Do Aol Normal Você Falando O Comando Ele Ira ativar Você Morre Ele Compra Sozinho Se Você Qiser Desativar E So Falar A Palavra Novamente. :smile_positivo: