Espero que funcione, e otima ideia ![]()
Parabéns, estarei testando!
Por Subwat, 04 de out. de 2010 em Actions e Talkactions
info
Grupo: Campones
Registrado: 29/09/10
Posts: 10
Reputação: 0
Char no Tibia: Brasileiro Of Knight

Espero que funcione, e otima ideia ![]()
Parabéns, estarei testando!
info
Grupo: Infante
Registrado: 27/07/09
Posts: 1.5k
Reputação: +405
Char no Tibia: Gean Riot
Olá Galerinha Xtibiana vim trazer a vocês o script de reparar Firewalker boots e também soft boots,tudo num mesmo comando,sem bugs.
Primeiro vá em talkactions/scripts e crie um arquivo Repair.Lua:
Cole Isto dentro:
--[[ script By Subwat Reparar soft e firewalker!]]-- function onSay(cid, words, param) local config = { price = 10000, new_soft = 6132, -- id da nova soft boots worn_soft = 10021, -- id da velha soft boots new_firewalker = 9933, -- id da firewalker boots worn_firewalker = 10022, -- id da velha firewalker boots needPremium = true -- se precisa ser premium (true or false) } if (config.needPremium == true) and (not isPremium(cid)) then doPlayerSendTextMessage(cid, 23, "desculpe apenas Premium players podem recarregar Suas Botas.") return TRUE end if param == "soft" then if getPlayerItemCount(cid, config.worn_soft) >= 1 then if doPlayerRemoveMoney(cid,config.price) == TRUE then doPlayerRemoveItem(cid,config.worn_soft,1) doPlayerAddItem(cid,config.new_soft, 1) end end return TRUE end if param == "firewalker" then if getPlayerItemCount(cid, config.worn_firewalker) >= 1 then if doPlayerRemoveMoney(cid,config.price) == TRUE then doPlayerRemoveItem(cid,config.worn_firewalker,1) doPlayerAddItem(cid,config.new_firewalker, 1) end end return TRUE end endAgora Cole está Tag em talkactions.xml:
é Isso agora é só aproveitar,a e pra deixar bem explicadinho pra reparar soft boots é !repair soft,e para reparar firewalker boots é !repair firewalker.
Flws gostou clika REP+
Editado Outubro 4 por Subwat