dá para diminuir
local female = {lookType = 269, lookHead = 79, lookBody = 91, lookLegs = 91, lookFeet = 91, lookTypeEx = 0, lookAddons = 3}
local male = {lookType = 268, lookHead = 86, lookBody = 86, lookLegs = 86, lookFeet = 86, lookTypeEx = 0, lookAddons = 3}
function onStepIn(cid, item, pos)
if isPlayer(cid) == TRUE then
if getPlayerSex(cid) == 0 then
doCreatureChangeOutfit(cid, female)
else
doCreatureChangeOutfit(cid, male)
end
doSendMagicEffect(getThingPos(cid), 29) -- EFEITO QUE DARA
doSendAnimatedText(getPlayerPosition(cid),"Fight!", math.random(01,255)) -- FALA QUE O PLAYER IRA FALAR
end
return TRUE
end







info
Grupo: Conde
Registrado: 30/01/10
Posts: 706
Reputação: +125
Gênero: Masculino
Char no Tibia: Bakwin
Eae Galera Tudo Bom? Entao vim Aqui Postar um Tile que Voce pisa em Cima dele e Ganha um Outfit.
Voce coloca a ActionId 2020 num Item ou Tile, quando o Player Pisar nele ganhará um Outfit Escolhi Por voce.
Vá em Data>MoveMents>Scripts crie uma pasta.lua chamada changetile.lua e coloque isso:
-- { By: GOD Dreamer } -- local female = {lookType = 269, lookHead = 79, lookBody = 91, lookLegs = 91, lookFeet = 91, lookTypeEx = 0, lookAddons = 3} -- Outfit Female local male = {lookType = 268, lookHead = 86, lookBody = 86, lookLegs = 86, lookFeet = 86, lookTypeEx = 0, lookAddons = 3} -- Outfit Male function onStepIn(cid, item, pos) if isPlayer(cid) == TRUE then if getPlayerSex(cid) == 0 then doCreatureChangeOutfit(cid, female) else doCreatureChangeOutfit(cid, male) end doSendMagicEffect(getThingPos(cid), 29) -- Efeito que dara quando o Player Pisar no Tile ou ItemId. doSendAnimatedText(getPlayerPosition(cid),"Wooaahh!", math.random(01,255)) -- Oque o Player vai Falar quando Mudar de Outfit. end return TRUE endAgora vá em Data>Movements.xml Adicione essa tag:
Feche e Salve!!
OBS: Veja se nao tenha a ActionId 2020 Primeiro antes de Salvar!!
Agora Abra seu RME Coloque a ActionId no Tile e Seja Feliz.
Duvidas Somente neste Topico.
Abraços..
Editado Setembro 24 por DevilMoon