Ir para conteúdo

Aol Automatico


Kuro o Shiniga

Posts Recomendados

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 por Pinpao
Link para o comentário
Compartilhar em outros sites

  • 2 weeks later...

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:

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...