Preciso de um script que tenha o comando !aol (que seja gratis)
(aol e amulet of loss que evita a perda de itens)
Aguardo!
Preciso de um script que tenha o comando !aol (que seja gratis)
(aol e amulet of loss que evita a perda de itens)
Aguardo!
function onSay(cid, words, param) if(getPlayerItemCount(cid, 2173) >= 1) then doPlayerSendCancel(cid, 'Você já tem um aol.') else doPlayerAddItem(cid, 2173, 1) end return TRUE end
ou se prefirir -
function onSay(cid, words, param)local premium = "yes" -- Apenas players premium accounts "yes" or "no"!?
if premium == "yes" and not isPremium(cid) then
return doPlayerSendTextMessage(cid, 23, "Sorry, only premium players can buy Items On talkactions.")
end
if doPlayerRemoveItem(cid,2160,1) then
doPlayerAddItem(cid,2173,1)
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA)
doCreatureSay(cid, "comprei aol", TALKTYPE_ORANGE_1)
else
doPlayerSendCancel(cid, 'You do not have 1 crystal coin.')
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA)
end
end
Entrem Server online desde o dia 22/02/2013 Monster 24HORAS dedicado!
IP: monster24h.com
PROTOCOL:8.60
PORT:7171
RATES:
Exp: 9999x~10x
Skills:800x
Magic:200x
Loot:2x
Pvp-e Advanced: 1.1x Ao matar players de level semelhante.
Accounts Pelo Account Manager!
tipo eu coloco isso na fuction.lua ??
ensina coloca o !aol ae
Resolvido agora me ensina coloca comando
!spell
!Aol
Vá em Data>Talkactions>Script crie uma pasta.lua chamada aol e coloque isto:
function onSay(cid, words, param) if(getPlayerItemCount(cid, 2173) >= 1) then doPlayerSendCancel(cid, 'Você já tem um aol.') else doPlayerAddItem(cid, 2173, 1) end return TRUE end
Agora vá em data>Talkactions.xml Abra e adicione esta tag la:
<talkaction words="!aol" event="script" value="aol.lua"/>
!Spells
Vá em data>Talkactions>Scripts crie uma pasta.lua chamada spells e coloque isto:
function onSay(cid, words, param) local count = getPlayerInstantSpellCount(cid) local text = "" local t = {} for i = 0, count - 1 do local spell = getPlayerInstantSpellInfo(cid, i) if spell.level ~= 0 then if spell.manapercent > 0 then spell.mana = spell.manapercent .. "%" end table.insert(t, spell) end end table.sort(t, function(a, b) return a.level < b.level end) local prevLevel = -1 for i, spell in ipairs(t) do local line = "" if prevLevel ~= spell.level then if i ~= 1 then line = "\n" end line = line .. "Spells for Level " .. spell.level .. "\n" prevLevel = spell.level end text = text .. line .. " " .. spell.words .. " - " .. spell.name .. " : " .. spell.mana .. "\n" end doShowTextDialog(cid,2175,text) return TRUE end
Agora vá em data>Talkactions.xml Abra e adicione esta tag:
<talkaction words="!spells" event="script" value="spells.lua"/>
Bem Explicadinho Néh?
Abraços..
Contato: DevilMoon@Xtibia.com
DevilMoon vc e o cara thanks
ae se der para vc me add no msn teteus_guitarra@hotmail.com
[Moderaçao Podem fechar]
Ok add eu la leonardo.teixeira18@hotmail.com
Topico Reportado Para Fecharem
Abraços..
Contato: DevilMoon@Xtibia.com
Tópico movido para a subseção referente a esta área.
Caso o usuário necessite de ajuda avançada, deverá utilizar o mesmo tópico.
Abraços.
luisfe23 here
!Aol
Vá em Data>Talkactions>Script crie uma pasta.lua chamada aol e coloque isto:
function onSay(cid, words, param) if(getPlayerItemCount(cid, 2173) >= 1) then doPlayerSendCancel(cid, 'Você já tem um aol.') else doPlayerAddItem(cid, 2173, 1) end return TRUE end
Agora vá em data>Talkactions.xml Abra e adicione esta tag la:
<talkaction words="!aol" event="script" value="aol.lua"/>
!Spells
Vá em data>Talkactions>Scripts crie uma pasta.lua chamada spells e coloque isto:
function onSay(cid, words, param) local count = getPlayerInstantSpellCount(cid) local text = "" local t = {} for i = 0, count - 1 do local spell = getPlayerInstantSpellInfo(cid, i) if spell.level ~= 0 then if spell.manapercent > 0 then spell.mana = spell.manapercent .. "%" end table.insert(t, spell) end end table.sort(t, function(a, b) return a.level < b.level end) local prevLevel = -1 for i, spell in ipairs(t) do local line = "" if prevLevel ~= spell.level then if i ~= 1 then line = "\n" end line = line .. "Spells for Level " .. spell.level .. "\n" prevLevel = spell.level end text = text .. line .. " " .. spell.words .. " - " .. spell.name .. " : " .. spell.mana .. "\n" end doShowTextDialog(cid,2175,text) return TRUE end
Agora vá em data>Talkactions.xml Abra e adicione esta tag:
<talkaction words="!spells" event="script" value="spells.lua"/>
Bem Explicadinho Néh?
Abraços..
esse comando de aol pode ser usado para obter grana fácil em um servidor Como por exemplo o do alissow OTS QUE no caso pode-se vender AOL por 5k.
Entrem Server online desde o dia 22/02/2013 Monster 24HORAS dedicado!
IP: monster24h.com
PROTOCOL:8.60
PORT:7171
RATES:
Exp: 9999x~10x
Skills:800x
Magic:200x
Loot:2x
Pvp-e Advanced: 1.1x Ao matar players de level semelhante.
Accounts Pelo Account Manager!
vlw ae galera porte postado o comandos isso me ajudo muito