Ir para conteúdo

Featured Replies

Postado

What is the purpose of this script?

Te ajudei?? REP + e ficamos quites... <ahttp://www.tibiaking.com/forum/uploads/emoticons/default_happyy.png' alt=';D'>

Atenciosamente,

Daniel.

Abraços!

  • Respostas 6
  • Visualizações 519
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Try this: function onLogout(cid) if getTileItemById(getPlayerPosition(cid), 9565) == true then doPlayerSendCancel(cid, "You cannot logout here.") return false end return true end

Postado
  • Autor
  • Solução

items are created on the ground with an action.

 

and I seek That They can not logear on Tiles enchanted 


solved:

 

--[[ by God Remady]]--
function onLogout(cid)
local item = getTileItemById({x = getPlayerPosition(cid).x, y = getPlayerPosition(cid).y, z = getPlayerPosition(cid).z, stackpos = 255}, 9565)
if item.itemid == 9565 then
doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUCANNOTLOGOUTHERE)
return false
end
return true
end

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo