Postado Maio 1, 2015 10 anos Olá Estou com um problema, tenho no meu servidor treiner específicos por vocação, por tanto o teleport dos treiner não está funcionando, ele aparece a mensagem "Bem vindo aos treiner", só que não teletransporta, TFS 0.4.4 function onStepIn(cid, item, fromPosition, itemEx, toPosition) local config = { MSG_WELCOME = "Seja bem vindo aos treiners.", SORCERER = {x=655, y=1014, z=7}, DRUID = {x=656, y=1014, z=7}, PALADIN = {x=393, y=1131, z=8}, KNIGHT = {x=324, y=1132, z=8} } if isPlayer(cid) then if isSorcerer(cid) then elseif getPlayerVocation(cid) == 1 then doTeleportThing(cid, config.SORCERER) elseif isDruid(cid) then elseif getPlayerVocation(cid) == 2 then doTeleportThing(cid, config.DRUID) elseif isPaladin(cid) then elseif getPlayerVocation(cid) == 3 then doTeleportThing(cid, config.PALADIN) elseif isKnight(cid) then elseif getPlayerVocation(cid) == 4 then doTeleportThing(cid, config.KNIGHT) else return false end doSendMagicEffect(getCreaturePosition(cid), 12) doCreatureSay(cid, config.MSG_WELCOME, TALKTYPE_ORANGE_1) end return true end E aproveitando o tópico teria como colocar para free, e com promotion ? sem ter que criar outra linha ? Por favor, por gentileza, alguém poderia me ajudar? Obg. Resolvido já Editado Maio 1, 2015 10 anos por AlekysRocha. (veja o histórico de edições) Actions; Vip door Systema By Mock Movements; Piso que TELEPORTA apenas players PREMIUM
Postado Maio 3, 2015 10 anos E aproveitando o tópico teria como colocar para free, e com promotion ? sem ter que criar outra linha ? Por favor, por gentileza, alguém poderia me ajudar? Obg. Que ? Especifique isso melhor menino! Sobre o resto: local config = { MSG_WELCOME = "Seja bem vindo aos trainers.", SORCERER = {x=655, y=1014, z=7}, DRUID = {x=656, y=1014, z=7}, PALADIN = {x=393, y=1131, z=8}, KNIGHT = {x=324, y=1132, z=8} } function onStepIn(cid, item, fromPosition, itemEx, toPosition) if isPlayer(cid) then return false elseif isSorcerer(cid) then doTeleportThing(cid, config.SORCERER) elseif isDruid(cid) then doTeleportThing(cid, config.DRUID) elseif isPaladin(cid) then doTeleportThing(cid, config.PALADIN) elseif isKnight(cid) then doTeleportThing(cid, config.KNIGHT) end doSendMagicEffect(getCreaturePosition(cid), 12) doCreatureSay(cid, config.MSG_WELCOME, TALKTYPE_ORANGE_2) return true end _ .-'` `} _./) / } .'o \ | } '.___.'`.\ {` /`\_/ , `. } ME DA UMA NOZ! \=' .-' _`\ { `'`;/ `, } _\ @ ; } /__`;-...'--' Cluck!
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.