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
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