Ir para conteúdo

Posts Recomendados

Galera estou aki para pedir a ajuda de vcs!!!

 

Tenho um script que so passa com um holly tible mas não esta funfando em meu ot (8.5) o que esta errado?? \/

 

function onStepIn(cid, item, pos)

 

if isPlayer(cid) == 1 then

tible = getPlayerItemCount(cid,1970)

if tible >= 1 then

newpos = {x=pos.x,y=pos.y-3,z=pos.z}

doSendMagicEffect(pos,12)

doTeleportThing(cid,newpos)

doSendMagicEffect(newpos,12)

end

end

end

 

ajudem awe plzz agradecerei muito a vcss!!

qualquer coisa mim add no msn: sammesilvasouza@hot...

Link para o comentário
https://xtibia.com/forum/topic/121006-movement-holly-tible/
Compartilhar em outros sites

function onStepIn(cid, item, position, fromPosition)
if doPlayerTakeItem(cid, 1970, 1) == false then
	doTeleportThing(cid, fromPosition)
else
	doSendMagicEffect(position, 12)
end
return true
end

Link para o comentário
https://xtibia.com/forum/topic/121006-movement-holly-tible/#findComment-796234
Compartilhar em outros sites

lek tem um para voltar tb esqueci de por o script que volta tb malz

 

 

function onStepIn(cid, item, pos)

 

if isPlayer(cid) == 1 then

tible = getPlayerItemCount(cid,1970)

if tible >= 1 then

newpos = {x=pos.x,y=pos.y+3,z=pos.z}

doSendMagicEffect(pos,12)

doTeleportThing(cid,newpos)

doSendMagicEffect(newpos,12)

end

end

end

Link para o comentário
https://xtibia.com/forum/topic/121006-movement-holly-tible/#findComment-796241
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...