Postado Maio 21, 2015 10 anos so fica dando mensagem 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
Postado Maio 21, 2015 10 anos agora quando entra no tp da um loop infinito de erro 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
Postado Maio 21, 2015 10 anos Autor 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 mesmo erro amigo I like
Postado Maio 21, 2015 10 anos 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
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.