Magico_ 0 #1 Postado 20 Novembro, 2006 para concertar meu tópico... modifikei a lvl door.. para uma vocation door... um Exemplo de voc door... para soh Knights entrarem function onUse(cid, item, frompos, item2, topos) reqlvl = getPlayerLevel(cid) reqvoc = getPlayerVocation(cid) if item.uid == 6012 then if reqvoc == 4 and reqlvl >= 1 then pos = getPlayerPosition(cid) if pos.x == topos.x then if pos.y < topos.y then pos.y = topos.y + 1 else pos.y = topos.y - 1 end elseif pos.y == topos.y then if pos.x < topos.x then pos.x = topos.x + 1 else pos.x = topos.x - 1 end else doPlayerSendTextMessage(cid,22,'Stand in front of the door.') return 1 end doTeleportThing(cid,pos) doSendMagicEffect(topos,12) else doPlayerSendTextMessage(cid,22,'You need level ' .. reqlevel .. ' to pass this door.') end return 1 else return 0 end end[/b] Besteirinha... mas.. interessante e útil... Compartilhar este post Link para o post
Convidado UrsO #2 Postado 20 Novembro, 2006 http://forum.otserv.com.br/style_emoticons/<#EMO_DIR#>/smile.gif Esse Script é do Colex Não funcionou aqui, acho que é só para 7.6, o meu é 7.8 (evolutons) _________________ Edit... Ah verdade ja tinha mesmo. Mais acontece... t+ Compartilhar este post Link para o post
Convidado RoDDz #3 Postado 20 Novembro, 2006 Nooosssa .. muito bom , vo usar .. vlw .. Compartilhar este post Link para o post
Alokk 0 #4 Postado 20 Novembro, 2006 esse script eh interessante.. eu tinha feito uma com teleport de porta nunca tinha tentado mais o colex manja bastante xD Compartilhar este post Link para o post
Jovial 2 #5 Postado 20 Novembro, 2006 action legal e util flw Compartilhar este post Link para o post
Convidado Didao #6 Postado 21 Novembro, 2006 OlaNossa muito boa essa script.Nessas horas que a imaginação flui haha...Ate maisDidao// Compartilhar este post Link para o post
Convidado UrsO #7 Postado 21 Novembro, 2006 Hmmm Agora Aprovado o/ Compartilhar este post Link para o post
All_Mad_Maniac 0 #9 Postado 22 Novembro, 2006 Mto loko ^^Areas de hunt por vocação, sem nego atrapalhando ! Compartilhar este post Link para o post
Kentaro 0 #10 Postado 22 Novembro, 2006 legal essa me deu uma ideia..tipo fazer uma action pra uma quest dos 10k =zinha tibia rl será qdá? Compartilhar este post Link para o post
sorrisotdr 0 #11 Postado 22 Novembro, 2006 nossa cara muito dahora, nunca tinha visto isso em ugar nenhum, bom trabalho, muito massa ! Compartilhar este post Link para o post
Tr0p5 0 #12 Postado 22 Novembro, 2006 seimplesinho... com certeza ideia veio do leveldoor.. aHAUuh mais eh muito util.. vlw mesmo flw ~Tr0p5 Compartilhar este post Link para o post
BieL 1 #13 Postado 23 Novembro, 2006 essa ate eu sei fazer http://forum.otserv.com.br/style_emoticons/<#EMO_DIR#>/tongue.gif mas ta rox parabens ^^ Compartilhar este post Link para o post
dragonjapa 0 #14 Postado 1 Dezembro, 2006 Quero esse script q Knight e Paladin podem entra eu n to conseguindo fazer isso postem pra mim com Knight e Paladin entrando na porta! Compartilhar este post Link para o post
Dankoo 1 #15 Postado 3 Dezembro, 2006 parece ser bom, ainda n baxei... mas tah rox =) Compartilhar este post Link para o post
Magico_ 0 #16 Postado 4 Dezembro, 2006 Knights: function onUse(cid, item, frompos, item2, topos) reqvoc = getPlayerVocation(cid) reqlvl = getPlayerLevel(cid) if item.uid == XXXX then if reqvoc == 4 and reqlvl >= 1 then pos = getPlayerPosition(cid) if pos.x == topos.x then if pos.y < topos.y then pos.y = topos.y + 1 else pos.y = topos.y - 1 end elseif pos.y == topos.y then if pos.x < topos.x then pos.x = topos.x + 1 else pos.x = topos.x - 1 end else doPlayerSendTextMessage(cid,22,'Stand in front of the door.') return 1 end doTeleportThing(cid,pos) doSendMagicEffect(topos,12) else doPlayerSendTextMessage(cid,22,'You need to be a knight to pass this door.') end return 1 else return 0 end end Pally: function onUse(cid, item, frompos, item2, topos) reqvoc = getPlayerVocation(cid) reqlvl = getPlayerLevel(cid) if item.uid == YYYY then if reqvoc == 3 and reqlvl >= 1 then pos = getPlayerPosition(cid) if pos.x == topos.x then if pos.y < topos.y then pos.y = topos.y + 1 else pos.y = topos.y - 1 end elseif pos.y == topos.y then if pos.x < topos.x then pos.x = topos.x + 1 else pos.x = topos.x - 1 end else doPlayerSendTextMessage(cid,22,'Stand in front of the door.') return 1 end doTeleportThing(cid,pos) doSendMagicEffect(topos,12) else doPlayerSendTextMessage(cid,22,'You need to be a paladin to pass this door.') end return 1 else return 0 end end Axo q é só isso. ~M</span><span style=\'color:red\'>y Compartilhar este post Link para o post
32623923 0 #17 Postado 5 Dezembro, 2006 Parabéns, precisava dessa action msm!Atenciosamente, Equipe RoxDragon Compartilhar este post Link para o post
Dexpant 0 #18 Postado 13 Dezembro, 2006 Fala oq eu tenho que editar: coloque em vermelho oq eu presciso editar Agora n prescisa mais... Alguem ja me pasou tudo... Vkw cara O que a equipe sabe fazer: Spell(Dexpant) 100% Action(Limph) 100% Mapper(Dexpant[por enquanto])l 90% Monster (Dexpant) 100% Site (Dexpant) 80% Design (Estamos prescisando): llllllllll 0% Prescisando de uma magia, hunt, monstro ou site??? CLIQUE AQUI e faça ja a sua encomenda!!! Pagamento por: OT$. Estamos prescisando de um mapper,Designer e um programador add: [email protected]</span> com Compartilhar este post Link para o post
Dexpant 0 #19 Postado 13 Dezembro, 2006 Fala oq eu tenho que editar: coloque em vermelho oq eu presciso editar Agora n prescisa mais... Alguem ja me pasou tudo... Vkw cara O que a equipe sabe fazer: Spell(Dexpant) 100% Action(Limph) 100% Mapper(Dexpant[por enquanto])l 90% Monster (Dexpant) 100% Site (Dexpant) 80% Design (Estamos prescisando): llllllllll 0% Prescisando de uma magia, hunt, monstro ou site??? CLIQUE AQUI e faça ja a sua encomenda!!! Pagamento por: OT$. Estamos prescisando de um mapper,Designer e um programador add: [email protected]</span> com Compartilhar este post Link para o post
Bozonildo 0 #20 Postado 16 Dezembro, 2006 Aki aparece, you need level 501x to pass trough this door qdo eu coloco o código, pq? Compartilhar este post Link para o post