Ir para conteúdo
  • Cadastre-se

Errro nesse script de tp help


Posts Recomendados

  Em 21/05/2015 em 19:13, loreal disse:

so fica dando mensagem 

 

2Y05uOi.png

Mostrar mais  

 

function onStepIn(cid, item, position, fromPosition)
for i = 2700, 3900 do
local pos = getThingPos(i)
if not isPlayer(getTopCreature(pos).uid) and getPlayerLevel(cid) < 50 then
doTeleportThing(cid, pos)
doCreatureSay(cid, 'Using a tool to cast spells or to keep your character online is ok.', TALKTYPE_ORANGE_1, false, cid)
doSendMagicEffect(position, CONST_ME_TELEPORT)
doSendMagicEffect(pos, CONST_ME_TELEPORT)
return true
end
doTeleportThing(cid, fromPosition, true)
doCreatureSay(cid, 'All training slots are taken', TALKTYPE_ORANGE_1, false, cid)
doSendMagicEffect(fromPosition, CONST_ME_TELEPORT)
end
return true
end
Link para o post
Compartilhar em outros sites
  • Respostas 12
  • Created
  • Última resposta

Top Posters In This Topic

Popular Days

Top Posters In This Topic

agora quando entra no tp da um loop infinito de erro

 

St5Q9Cm.png

I like

Link para o post
Compartilhar em outros sites
  Em 21/05/2015 em 19:48, loreal disse:

agora quando entra no tp da um loop infinito de erro

 

St5Q9Cm.png

Mostrar mais  

 

function onStepIn(cid, item, position, fromPosition)
for i = 2700, 3900 do
local pos = getThingPos(i)
if not isPlayer(getTopCreature(pos).uid) and getPlayerLevel(cid) < 50 then
doTeleportThing(cid, pos, true)
doCreatureSay(cid, 'Using a tool to cast spells or to keep your character online is ok.', TALKTYPE_ORANGE_1, false, cid)
doSendMagicEffect(position, CONST_ME_TELEPORT)
doSendMagicEffect(pos, CONST_ME_TELEPORT)
return true
end
doTeleportThing(cid, fromPosition, true)
doCreatureSay(cid, 'All training slots are taken', TALKTYPE_ORANGE_1, false, cid)
doSendMagicEffect(fromPosition, CONST_ME_TELEPORT)
end
return true
end

desculpa já era pra ter resolvido, mais não estou em casa pra testar 

Link para o post
Compartilhar em outros sites
  Em 21/05/2015 em 19:53, TopllDanStar disse:
function onStepIn(cid, item, position, fromPosition)
for i = 2700, 3900 do
local pos = getThingPos(i)
if not isPlayer(getTopCreature(pos).uid) and getPlayerLevel(cid) < 50 then
doTeleportThing(cid, pos, true)
doCreatureSay(cid, 'Using a tool to cast spells or to keep your character online is ok.', TALKTYPE_ORANGE_1, false, cid)
doSendMagicEffect(position, CONST_ME_TELEPORT)
doSendMagicEffect(pos, CONST_ME_TELEPORT)
return true
end
doTeleportThing(cid, fromPosition, true)
doCreatureSay(cid, 'All training slots are taken', TALKTYPE_ORANGE_1, false, cid)
doSendMagicEffect(fromPosition, CONST_ME_TELEPORT)
end
return true
end

desculpa já era pra ter resolvido, mais não estou em casa pra testar 

 

Expand   Mostrar mais  

mesmo erro amigo

I like

Link para o post
Compartilhar em outros sites

function onStepIn(cid, item, position, fromPosition)
for i = 2700, 3900 do
local pos = getThingPos(i)
if not isPlayer(getTopCreature(pos).uid) and getPlayerLevel(cid) < 50 then
doTeleportThing(cid, pos, false)
doCreatureSay(cid, 'Using a tool to cast spells or to keep your character online is ok.', TALKTYPE_ORANGE_1, false, cid)
doSendMagicEffect(position, CONST_ME_TELEPORT)
doSendMagicEffect(pos, CONST_ME_TELEPORT)
return true
end
doTeleportThing(cid, fromPosition, true)
doCreatureSay(cid, 'All training slots are taken', TALKTYPE_ORANGE_1, false, cid)
doSendMagicEffect(fromPosition, CONST_ME_TELEPORT)
end
return true
end
Link para o post
Compartilhar em outros sites

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

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

  • Estatísticas dos Fóruns

    96844
    Tópicos
    519599
    Posts



×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo