Postado Março 28, 2014 11 anos Gente alguem pode me ajudar, Quero um Script que quando fala !desbug ele te teleporta pro Templo mais que só possa usar o comando de 10 em 10 minutos. Alguem pode fazer isso por mim. ? ? Editado Março 28, 2014 11 anos por caiobale (veja o histórico de edições)
Postado Abril 22, 2014 11 anos Só não esqueça que players podem usar isso como bug abuser, se tiver morrendo e etc, ele se teleporta... pode ir tbm pk... teria que usar quando não tivesse pk ou n tivesse battle =D
Postado Abril 25, 2014 11 anos Eu coloquei na forma de magias. Crie um arquivo chamado citytp.lua na pasta Scripts das Spells e coloque isto dentro (fiz umas modificações pra não voltar PK e só fazer quando estiver em peace) function onCastSpell(cid, var) local function doTeleport(cid, count) if (not isPlayer(cid)) then return true end doSendAnimatedText(getCreaturePosition(cid), (30 - count).."s", COLOR_ORANGE) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_YELLOW_RINGS) if (count == 30) then return doCreatureSetNoMove(cid, false) and doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) else addEvent(doTeleport, 1000, cid, count + 1) end return true end if (not isPlayerPzLocked(cid)) then if (not getCreatureCondition(cid, 1024)) then return doCreatureSetNoMove(cid, true) and doTeleport(cid, 0) else doPlayerSendTextMessage(cid,MESSAGE_STATUS_SMALL,"You cannot use this command while you are infight.") return false end else doPlayerSendTextMessage(cid,MESSAGE_STATUS_SMALL,"You cannot use this command while you are pz locked.") return false end end Depois, dentro de Spells, insira: <instant name="City Teleport" words="exani hom" lvl="100" mana="0" aggressive="0" selftarget="1" exhaustion="1200000" needlearn="0" event="script" value="citytp.lua"> <vocation id="1"/> <vocation id="2"/> <vocation id="3"/> <vocation id="4"/> <vocation id="5"/> <vocation id="6"/> <vocation id="7"/> <vocation id="8"/> </instant> Aí o player usará a magia "exani hom". Você pode controlar o tempo pra voltar como se fosse uma magia. No meu server funciona perfetc. Abraço. The Last Man Standing - 100% funcional
Postado Fevereiro 19, 2015 10 anos Não Funfo... affz Faz Como Script Normal em Talcktions ou Sla Oq '-' Não FUNFO MSM !!! só bugo tudo
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.