Fala ae galera,to voltando aos poucos para o :XTibia_smile:
Entao vamo lá,hoje meu trabalhinho é bem simples,voce está andando e de repente passa em cima do gelo e voce automaticamente fala Que Frio!
Primeiro vá em ot/data/movements/scripts copie qualquer arquivo e renomeio para quefrio e cole isto \/
function onStepIn(cid, item, position, fromPosition)
---- Config ----
doSendAnimatedText(getPlayerPosition(cid), "Que Frio!", TEXTCOLOR_LIGHTBLUE)
----------------
if item.actionid == 4322 and status == 0 then
doPlayerSendTextMessage(cid, 22, msg3)
setPlayerStorageValue(cid,486,1)
else
doPlayerSendTextMessage(cid, 22, msg1)
setPlayerStorageValue(cid,486,0)
end
end
Agora vá em data/movements/movements.xml e cole isto \/
<movevent event="StepIn" actionid="4322" script="quefrio.lua"/>
ID Do Gelo: 486
Action Id que voce irá colocar nele: 4322
Ss: