-
Total de itens
133 -
Registro em
-
Última visita
-
Dias Ganhos
1
Tudo que gustavo3754 postou
-
beddy Foi o que eu disse, : "Todos errados, está certo os outfit quanto as spells, para centralizar prescisa faser a spells de transformação com a função correta, que ira centralizar o efeito. Ou se desejar refaça todas as outfits de personagem." São cegos ou lesados ? ¬¬
-
Gostei bastante, quem sabe começo a tentar faser, é que nunca estamos com tempo.
-
SmiX Essas sprites são do DBOBR ele não recortou e sim exportou, é algum spriter de alto nivel? Leia melhor antes de criticar.
-
Todos errados, está certo os outfit quanto as spells, para centralizar prescisa faser a spells de transformação com a função correta, que ira centralizar o efeito. Ou se desejar refaça todas as outfits de personagem.
-
Grato, tentarei arrumar isso aqui, e testarei para ver se funciona agora.
-
Estou com um problema no OTItemEditor 8.54, que quando vou abrir ele aparece esse erro "Error while loading client's tibia.spr." Se alguem poder ajudar fico agradecido, e do REP.
-
Olá, primeiramente quero explicar o script que desejo para não haver muitas perguntas :x Certo, queria um script assim, o player falar "hi" eo NPC ja teleportar ele para as coordenadas. Script para TFS 8.54 Player: Hi NPC: Boa Viagem! Se alguem poder ajudar, ficaria muito agradecido. Att, CrazzyMaster
-
PiabetaMan01 Tipo eu baixei tentei configurar e tudo, o host pede a data base queria que explicasse mais um pouco com mais detalhes como colocar a sua database, se poder fasendo um favor. E ele tem alguns erros qual host voce usa? Eu falo host quero diser xampp, wamp, esses ai.
-
gostei desse site eh um site facil de se editar nada muito dificil.
-
kk legal, esse site é meu cade os creditos? está disponibilizado pra download junto com meus servidores. Facil editar site de dbo isso se aprende sozinho.
-
Reborn.lua local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end local config = { --[Vocation] = ( Nova Vocation, New Outfit ) [21] = { 22, 137}, [254] = { 255, 351}, [36] = { 37, 148}, [51] = { 52, 144}, [65] = { 66, 152}, [378] = { 379, 451}, [80] = { 81, 150}, [93] = { 94, 150}, [107] = { 108, 509}, [118] = { 119, 118}, [131] = { 132, 34}, [144] = { 145, 15}, [155] = { 156, 15}, [167] = { 168, 173}, [179] = { 180, 178}, [191] = { 192, 184}, [205] = { 206, 190}, [217] = { 218, 221}, [229] = { 230, 281}, [242] = { 243, 60}, [254] = { 255, 351}, [265] = { 266, 334}, [275] = { 276, 80}, [286] = { 287, 338}, [296] = { 297, 198}, } function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if msgcontains(msg, 'reborn') and getPlayerStorageValue(cid,30025) == 4 then selfSay('You are reborn.', cid) focus = 0 talk_start = 0 elseif msgcontains(msg, 'reborn') and getPlayerLevel(cid) < 250 and getPlayerStorageValue(cid,30025) ~= 4 then selfSay('Hehe, I say If you READY. You do not have 250 level.', cid) elseif msgcontains(msg, 'reborn') then selfSay('Are you sure? {yes}', cid) talkState[talkUser] = 2 elseif msgcontains(msg, 'yes') and talkState[talkUser] ==2 and getPlayerLevel(cid) >= 250 then local voc = config[getPlayerVocation(cid)] doPlayerSetVocation(cid, voc[1]) local outfit = {lookType = voc[2]} doCreatureChangeOutfit(cid, outfit) doPlayerAddExp(cid, -(getPlayerExperience(cid)-getExperienceForLevel(1))) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+20000) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+30000) doCreatureAddHealth(cid, getCreatureMaxHealth(cid)) doCreatureAddMana(cid, getCreatureMaxMana(cid)) setPlayerStorageValue(cid,30025,4) talkState[talkUser] = 0 elseif msgcontains(msg, 'yes') and getPlayerLevel(cid) ~= 250 then selfSay('Desculpe, ' .. getCreatureName(cid) .. '! You need level 250 to reborn.', cid) talkState[talkUser] = 0 elseif msgcontains(msg, 'yes') and talkState[talkUser] == 2 then selfSay('Sorry, ' .. getCreatureName(cid) .. '! You must revert or transform to reborn.', cid) talkState[talkUser] = 0 elseif msgcontains(msg, 'bye') and getDistanceToCreature(cid) < 4 then selfSay('Good bye.', cid) focus = 0 talk_start = 0 end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) to meio em duvida tb.. se o de cima n pegar tenta esse: local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end local config = { --[Vocation] = ( Nova Vocation, New Outfit ) [21] = { 22, 137}, [254] = { 255, 351}, [36] = { 37, 148}, [51] = { 52, 144}, [65] = { 66, 152}, [378] = { 379, 451}, [80] = { 81, 150}, [93] = { 94, 150}, [107] = { 108, 509}, [118] = { 119, 118}, [131] = { 132, 34}, [144] = { 145, 15}, [155] = { 156, 15}, [167] = { 168, 173}, [179] = { 180, 178}, [191] = { 192, 184}, [205] = { 206, 190}, [217] = { 218, 221}, [229] = { 230, 281}, [242] = { 243, 60}, [254] = { 255, 351}, [265] = { 266, 334}, [275] = { 276, 80}, [286] = { 287, 338}, [296] = { 297, 198}, } function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if msgcontains(msg, 'reborn') and getPlayerStorageValue(cid,30025) == 4 then selfSay('You are reborn.', cid) focus = 0 talk_start = 0 elseif msgcontains(msg, 'reborn') and getPlayerLevel(cid) < 250 and getPlayerStorageValue(cid,30025) ~= 4 then selfSay('Hehe, I say If you READY. You do not have 250 level.', cid) elseif msgcontains(msg, 'reborn') then selfSay('Are you sure? {yes}', cid) talkState[talkUser] = 2 elseif msgcontains(msg, 'yes') and talkState[talkUser] ==2 and getPlayerLevel(cid) > 250 then local voc = config[getPlayerVocation(cid)] doPlayerSetVocation(cid, voc[1]) local outfit = {lookType = voc[2]} doCreatureChangeOutfit(cid, outfit) doPlayerAddExp(cid, -(getPlayerExperience(cid)-getExperienceForLevel(1))) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+20000) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+30000) doCreatureAddHealth(cid, getCreatureMaxHealth(cid)) doCreatureAddMana(cid, getCreatureMaxMana(cid)) setPlayerStorageValue(cid,30025,4) talkState[talkUser] = 0 elseif msgcontains(msg, 'yes') and getPlayerLevel(cid) ~= 250 then selfSay('Desculpe, ' .. getCreatureName(cid) .. '! You need level 250 to reborn.', cid) talkState[talkUser] = 0 elseif msgcontains(msg, 'yes') and talkState[talkUser] == 2 then selfSay('Sorry, ' .. getCreatureName(cid) .. '! You must revert or transform to reborn.', cid) talkState[talkUser] = 0 elseif msgcontains(msg, 'bye') and getDistanceToCreature(cid) < 4 then selfSay('Good bye.', cid) focus = 0 talk_start = 0 end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
- 23 respostas
-
- npc reborn
- otserv
-
(e 2 mais)
Tags:
-
Reborn.lua local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end local config = { --[Vocation] = ( Nova Vocation, New Outfit ) [21] = { 22, 137}, [254] = { 255, 351}, [36] = { 37, 148}, [51] = { 52, 144}, [65] = { 66, 152}, [378] = { 379, 451}, [80] = { 81, 150}, [93] = { 94, 150}, [107] = { 108, 509}, [118] = { 119, 118}, [131] = { 132, 34}, [144] = { 145, 15}, [155] = { 156, 15}, [167] = { 168, 173}, [179] = { 180, 178}, [191] = { 192, 184}, [205] = { 206, 190}, [217] = { 218, 221}, [229] = { 230, 281}, [242] = { 243, 60}, [254] = { 255, 351}, [265] = { 266, 334}, [275] = { 276, 80}, [286] = { 287, 338}, [296] = { 297, 198}, } function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if msgcontains(msg, 'reborn') and getPlayerStorageValue(cid,30025) == 4 then selfSay('You are reborn.', cid) focus = 0 talk_start = 0 elseif msgcontains(msg, 'reborn') and getPlayerLevel(cid) < 250 and getPlayerStorageValue(cid,30025) ~= 4 then selfSay('Hehe, I say If you READY. You do not have 250 level.', cid) elseif msgcontains(msg, 'reborn') then selfSay('Are you sure? {yes}', cid) talkState[talkUser] = 2 elseif msgcontains(msg, 'yes') and talkState[talkUser] ==2 and getPlayerLevel(cid) == 250 then local voc = config[getPlayerVocation(cid)] doPlayerSetVocation(cid, voc[1]) local outfit = {lookType = voc[2]} doCreatureChangeOutfit(cid, outfit) doPlayerAddExp(cid, -(getPlayerExperience(cid)-getExperienceForLevel(1))) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+20000) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+30000) doCreatureAddHealth(cid, getCreatureMaxHealth(cid)) doCreatureAddMana(cid, getCreatureMaxMana(cid)) setPlayerStorageValue(cid,30025,4) talkState[talkUser] = 0 elseif msgcontains(msg, 'yes') and getPlayerLevel(cid) >= 250 then selfSay('Desculpe, ' .. getCreatureName(cid) .. '! You need level 250 to reborn.', cid) talkState[talkUser] = 0 elseif msgcontains(msg, 'yes') and talkState[talkUser] == 2 then selfSay('Sorry, ' .. getCreatureName(cid) .. '! You must revert or transform to reborn.', cid) talkState[talkUser] = 0 elseif msgcontains(msg, 'bye') and getDistanceToCreature(cid) < 4 then selfSay('Good bye.', cid) focus = 0 talk_start = 0 end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) to fora uns tempo ate me arrumar..
- 23 respostas
-
- npc reborn
- otserv
-
(e 2 mais)
Tags:
-
@PostadorHunter Mesmo assim cara pode ser tibia pode ser pirata mais ele se mato pra modificar e é avatar ou seja não é mais tibia apenas o grafico, quando voce abrir um server vo la ripa ele tambem vamo ve se você acha legal. Existe os direitos mesmo sendo pirata.
-
@soyjho Cara eu ja te respondi ali em cima, é como eu disse esse erro é do seu pc mesmo alguns computadores não rodam servidores de wodbo tipo o meu pc tambem não roda.
- 95 respostas
-
- entra ae ;)
- otserv
-
(e 2 mais)
Tags:
-
Me manda uma ideia de uma spriter que voce queira eu faço agora mesmo.
-
Se ainda prescisar de spriter me mande suas itenções, tipo servidor? Tibia? Por que faço spriter top down e tibia. Me manda isso ai que ja faço uma spriter e você decide se esta boa ou não.
-
Olá pessoal, bom eu procurei tanto no xtibia quanto em outros forum até nos internacionais e não encontrei Guild War System para modern aac. Se alguem tiver poder disponibilizar e dizer como eu instalo ficaria agradecido, a mais uma coisa se ja existir um tópico falando sobre isso e tals, me desculpem se ja tiver podem fechar esse aqui. Me respondam, essa sprite ta legal ? Fiz o possivel pra ficar boa.
-
- pedido
- me ajuda por favor!
-
(e 2 mais)
Tags:
-
@soyjho Cara aqui tambem da esse erro é do seu pc mesmo depende do seu processador, tem que ser muito rapido tipo se não eu ja teria aberto um server a muito tempo.
- 95 respostas
-
- entra ae ;)
- otserv
-
(e 2 mais)
Tags:
-
Bom la vamos nós de novo. Vai em data/npc cria um Yama.xml <?xml version="1.0"?> <npc name="Yama" script="data/npc/scripts/yama.lua" walkinterval="0" floorchange="0"> <health now="1" max="1"/> <look type="57" head="20" body="30" legs="40" feet="50" corpse="3128"/> </npc> Ok, agora vai em data/npc/script cria um yama.lua local focus = 0 local talk_start = 0 local target = 0 local following = false local attacking = false function onThingMove(creature, thing, oldpos, oldstackpos, item, itemEx) end function onCreatureAppear(creature) end function onCreatureDisappear(cid, pos) if focus == cid then selfSay('Good bye then.') focus = 0 talk_start = 0 end end function onCreatureTurn(creature) end function msgcontains(txt, str) return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)')) end function onCreatureSay(cid, type, msg) msg = string.lower(msg) if (msgcontains(msg, 'hi')) and getDistanceToCreature(cid) < 4 then selfSay("Olá ".. getCreatureName(cid) ..", siga pelo caminho a sua esquerda e encontrara seu destino.") focus = 0 talk_start = 0 end end function onCreatureChangeOutfit(creature) end Bom é isso se não funcionar me avisa FLW ABRAÇO. REP?
- 3 respostas
-
- npc de fala
- otserv
-
(e 2 mais)
Tags:
-
Dúvida Sanada. Pedido para Fechamento.
-
Bom ja que você pediu no msn vou ter que ajudar ... Vai em data/npc e cria um Citizen.xml <?xml version="1.0"?> <npc name="Citizen" script="data/npc/scripts/tele.lua" walkinterval="0" floorchange="0"> <health now="1" max="1"/> <look type="57" head="20" body="30" legs="40" feet="50" corpse="3128"/> </npc> Depois vai em data/npc/script e cria um tele.lua local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function creatureSayCallback(cid, type, msg) if (not npcHandler:isFocused(cid)) then return false end if msgcontains(msg, 'young') and not isPlayerPzLocked(cid) then if doPlayerRemoveItem(cid, 2152, 0) == true then doTeleportThing(cid,{x=1021, y=1072, z=7}) self:releaseFocus(cid) else npcHandler:say('You don\'t have enought money to travel!', cid) self:releaseFocus(cid) end end if msgcontains(msg, 'templo') and not isPlayerPzLocked(cid) then if doPlayerRemoveItem(cid, 2152, 15) == true then doTeleportThing(cid,{x=32387, y=31821, z=6}) self:releaseFocus(cid) else npcHandler:say('You don\'t have enought money to travel!', cid) self:releaseFocus(cid) end end if isPlayerPzLocked(cid) then npcHandler:say('You can\'t travel, you have pz!', cid) end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) keywordHandler:addKeyword({'travel'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Eu posso te levar para: {templo}, {young}.'}) npcHandler:addModule(FocusModule:new()) Nessa parte : if msgcontains(msg, 'young') and not isPlayerPzLocked(cid) then if doPlayerRemoveItem(cid, 2152, 0) == true then doTeleportThing(cid,{x=1021, y=1072, z=7}) self:releaseFocus(cid) else npcHandler:say('You don\'t have enought money to travel!', cid) self:releaseFocus(cid) end end Se você quiser colocar mais cidade copia essa e edita.. Eu tirei o dinheiro tipo o npc teleporta de graça se você quiser colocar pra cobrar basta add isso. if doPlayerRemoveItem(cid, 2152, 10) == true then Legenda: Azul: Coordenadas Vermelho: Custo da viagem Verde: Nome da cidade Ajudei? REP Ai
-
@Bartpelado Não sei se estão bugado vou verificar na v3, o bug do player virar god provavelmente deve ser código do client na v3 eu tiro e fica tudo numa boa
- 95 respostas
-
- entra ae ;)
- otserv
-
(e 2 mais)
Tags:
-
@Mupy13 Va no seu banco de dados no phpmyadmin, vai na parte dos bans e os players que ele baniu vai estar lá, é só você excluir eles de la. Se não funcionar vou ver outro mode é que estou meio ocupado. @Bartpelado Tenta faser a mesma coisa que falei pro @Mupy13. E me manda o site desse seu ot, quero jogar Ae na v4 vai ter kagome e tals, estou até pensando em colocar uma nova vocation criada por mim mesmo, se eu for colocar vai se chamar Yuuki.
- 95 respostas
-
- entra ae ;)
- otserv
-
(e 2 mais)
Tags:
-
spell Raios Nas Vocations Sem Bugs [8.00]
tópico respondeu ao gustavo3754 de gustavo3754 em Globalevents e Spells
Sim prescisa essa é a função que vai mudar o outfit do player. Não posso adiciona msn por que o meu ta lotado Olha dei uma olhada no script vo postar outro ve se funciona.. local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) local condition = createConditionObject(CONDITION_OUTFIT) setConditionParam(condition, CONDITION_PARAM_TICKS, 86400000) addOutfitCondition(condition, 0, 71, 0, 0, 0, 0) setCombatCondition(combat, condition) c16 = {lookType=467} c161 = {lookType=471} c162 = {lookType=468} c163 = {lookType=469} c164 = {lookType=470} c165 = {lookType=472} c166 = {lookType=473} c167 = {lookType=474} c168 = {lookType=475} gotenksgtssj = {lookType=169} gotenksgtssj3 = {lookType=170} shenrons1 = {lookType=198} shenrons2 = {lookType=77} shenrons3 = {lookType=257} shenrons4 = {lookType=232} shenrons5 = {lookType=20} shenrons6 = {lookType=265} ext = 1000 ---C16--- function trans(cid) if getPlayerVocation(cid) == 412 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 278) addEvent(trans,ext,cid) end end end ---End c16--- ---Reborn c16--- function trans4(cid) if getPlayerVocation(cid) == 416 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid),278) addEvent(trans4,ext,cid) end end end function trans5(cid) if getPlayerVocation(cid) == 417 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 278) addEvent(trans5,ext,cid) end end end function trans6(cid) if getPlayerVocation(cid) == 418 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 278) addEvent(trans6,ext,cid) end end end function trans7(cid) if getPlayerVocation(cid) == 419 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 278) addEvent(trans7,ext,cid) end end end function trans8(cid) if getPlayerVocation(cid) == 514 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 294) addEvent(trans8,ext,cid) end end end --- Reborn c16 End --- --- Gotenks --- function trans(cid) if getPlayerVocation(cid) == 84 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(fusion,ext,cid) end end end function fusion1(cid) if getPlayerVocation(cid) == 85 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 234) addEvent(fusion1,ext,cid) end end end function fusionchibi(cid) if getPlayerVocation(cid) == 317 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(fusionchibi,ext,cid) end end end function fusionchibi2(cid) if getPlayerVocation(cid) == 318 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 234) addEvent(fusionchibi2,ext,cid) end end end --- Gotenks End --- --- Gotenks Reborn --- function fusion2(cid) if getPlayerVocation(cid) == 320 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(fusion2,ext,cid) end end end function fusion3(cid) if getPlayerVocation(cid) == 321 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 234) addEvent(fusion3,ext,cid) end end end function fusionchibigt(cid) if getPlayerVocation(cid) == 323 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(fusionchibigt,ext,cid) end end end function fusionchibigt1(cid) if getPlayerVocation(cid) == 324 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 234) addEvent(fusionchibigt1,ext,cid) end end end --- Chibi Trunks Transform --- --- Gotenks Reborn End --- --- Shenron --- function shenron(cid) if getPlayerVocation(cid) == 330 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 13) addEvent(shenron,ext,cid) end end end function shenron2(cid) if getPlayerVocation(cid) == 331 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 13) addEvent(shenron2,ext,cid) end end end function shenron3(cid) if getPlayerVocation(cid) == 332 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 13) addEvent(shenron3,ext,cid) end end end function shenron4(cid) if getPlayerVocation(cid) == 333 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 13) addEvent(shenron4,ext,cid) end end end function shenron5(cid) if getPlayerVocation(cid) == 334 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 13) addEvent(shenron5,ext,cid) end end end function shenron6(cid) if getPlayerVocation(cid) == 335 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 13) addEvent(shenron6,ext,cid) end end end --- Shenron Reborn --- function shenrongt(cid) if getPlayerVocation(cid) == 337 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(shenrongt,ext,cid) end end end function shenrongt1(cid) if getPlayerVocation(cid) == 338 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(shenrongt1,ext,cid) end end end function shenrongt2(cid) if getPlayerVocation(cid) == 339 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(shenrongt2,ext,cid) end end end function shenrongt3(cid) if getPlayerVocation(cid) == 340 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(shenrongt3,ext,cid) end end end --- Shenron End --- function onCastSpell(cid, var) ---Janemba--- if getPlayerVocation(cid) == 303 then if getPlayerLevel(cid) >= 50 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,304) doSetCreatureOutfit(cid, outfit, -1) addEvent(trans,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 233) else doPlayerSendCancel(cid, "You need 50 level to first transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 304 then if getPlayerLevel(cid) >= 100 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,305) addEvent(trans1,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 33) doSetCreatureOutfit(cid, outfit1, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 305 then if getPlayerLevel(cid) >= 150 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,306) addEvent(trans2,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 18) doSetCreatureOutfit(cid, outfit2, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 306 then if getPlayerLevel(cid) >= 200 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,307) addEvent(trans3,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 243) doSetCreatureOutfit(cid, outfit3, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end --- Reborn --- elseif getPlayerVocation(cid) == 308 then if getPlayerLevel(cid) >= 50 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,309) addEvent(trans4,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 7) doSetCreatureOutfit(cid, outfits, -1) else doPlayerSendCancel(cid, "You need 50 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 309 then if getPlayerLevel(cid) >= 100 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,310) addEvent(trans5,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 33) doSetCreatureOutfit(cid, outfits1, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 310 then if getPlayerLevel(cid) >= 150 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,311) addEvent(trans6,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 18) doSetCreatureOutfit(cid, outfits2, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 311 then if getPlayerLevel(cid) >= 200 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,312) addEvent(trans7,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 243) doSetCreatureOutfit(cid, outfits3, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Janemba? --- --- Gotenks --- elseif getPlayerVocation(cid) == 313 then if getPlayerLevel(cid) >= 150 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,314) addEvent(fusion,ext,cid) doSetCreatureOutfit(cid, gotenksssj, -1) setPlayerStorageValue(cid,20235,1) doSendMagicEffect(getPlayerPosition(cid), 63) else doPlayerSendCancel(cid, "Gotenks! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 314 then if getPlayerLevel(cid) >= 200 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,315) addEvent(fusion1,ext,cid) doSetCreatureOutfit(cid, gotenksssj3, -1) setPlayerStorageValue(cid,20235,2) doSendMagicEffect(getPlayerPosition(cid), 64) else doPlayerSendCancel(cid, "Gotenks! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end --- Chibi --- elseif getPlayerVocation(cid) == 316 then if getPlayerLevel(cid) >= 150 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,317) addEvent(fusionchibi,ext,cid) doSetCreatureOutfit(cid, gotenksssj, -1) setPlayerStorageValue(cid,20235,1) doSendMagicEffect(getPlayerPosition(cid), 63) else doPlayerSendCancel(cid, "Gotenks! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 317 then if getPlayerLevel(cid) >= 200 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,318) addEvent(fusionchibi2,ext,cid) doSetCreatureOutfit(cid, gotenksssj3, -1) setPlayerStorageValue(cid,20235,2) doSendMagicEffect(getPlayerPosition(cid), 64) else doPlayerSendCancel(cid, "Gotenks! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end --- Reborn --- --- Goten --- elseif getPlayerVocation(cid) == 319 then if getPlayerLevel(cid) >= 150 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,320) addEvent(fusion,ext,cid) doSetCreatureOutfit(cid, gotenksgtssj, -1) setPlayerStorageValue(cid,20236,3) doSendMagicEffect(getPlayerPosition(cid), 63) else doPlayerSendCancel(cid, "Gotenks GT! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 320 then if getPlayerLevel(cid) >= 200 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,321) addEvent(fusion1,ext,cid) doSetCreatureOutfit(cid, gotenksgtssj3, -1) setPlayerStorageValue(cid,20236,4) doSendMagicEffect(getPlayerPosition(cid), 64) else doPlayerSendCancel(cid, "Gotenks GT! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end --- Chibi Trunks --- elseif getPlayerVocation(cid) == 322 then if getPlayerLevel(cid) >= 150 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,323) addEvent(fusionchibigt,ext,cid) doSetCreatureOutfit(cid, gotenksgtssj, -1) setPlayerStorageValue(cid,20236,3) doSendMagicEffect(getPlayerPosition(cid), 63) else doPlayerSendCancel(cid, "Gotenks GT! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 323 then if getPlayerLevel(cid) >= 200 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,324) addEvent(fusionchibigt1,ext,cid) doSetCreatureOutfit(cid, gotenksgtssj3, -1) setPlayerStorageValue(cid,20236,4) doSendMagicEffect(getPlayerPosition(cid), 64) else doPlayerSendCancel(cid, "Gotenks GT! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Janemba--- --- Shenron --- elseif getPlayerVocation(cid) == 329 then if getPlayerLevel(cid) >= 30 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,330) addEvent(shenron,ext,cid) doSetCreatureOutfit(cid, shenrons1, -1) doSendMagicEffect(getPlayerPosition(cid), 75) else doPlayerSendCancel(cid, "Shenron, You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 330 then if getPlayerLevel(cid) >= 50 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,331) addEvent(shenron2,ext,cid) doSetCreatureOutfit(cid, shenrons2, -1) doSendMagicEffect(getPlayerPosition(cid), 233) else doPlayerSendCancel(cid, "Shenron, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 331 then if getPlayerLevel(cid) >= 75 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,332) addEvent(shenron3,ext,cid) doSetCreatureOutfit(cid, shenrons3, -1) doSendMagicEffect(getPlayerPosition(cid), 75) else doPlayerSendCancel(cid, "Shenron, You need 75 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 332 then if getPlayerLevel(cid) >= 100 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,333) addEvent(shenron4,ext,cid) doSetCreatureOutfit(cid, shenrons4, -1) doSendMagicEffect(getPlayerPosition(cid), 75) else doPlayerSendCancel(cid, "Shenron, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 333 then if getPlayerLevel(cid) >= 150 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,334) addEvent(shenron5,ext,cid) doSetCreatureOutfit(cid, shenrons5, -1) doSendMagicEffect(getPlayerPosition(cid), 233) else doPlayerSendCancel(cid, "Shenron, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 334 then if getPlayerLevel(cid) >= 200 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,335) addEvent(shenron6,ext,cid) doSetCreatureOutfit(cid, shenrons6, -1) doSendMagicEffect(getPlayerPosition(cid), 75) else doPlayerSendCancel(cid, "Shenron, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end --- Shenron Reborn --- elseif getPlayerVocation(cid) == 336 then if getPlayerLevel(cid) >= 50 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,337) addEvent(shenrongt,ext,cid) doSetCreatureOutfit(cid, shenrons2, -1) doSendMagicEffect(getPlayerPosition(cid), 75) else doPlayerSendCancel(cid, "Shenron, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 337 then if getPlayerLevel(cid) >= 100 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,338) addEvent(shenrongt1,ext,cid) doSetCreatureOutfit(cid, shenrons3, -1) doSendMagicEffect(getPlayerPosition(cid), 75) else doPlayerSendCancel(cid, "Shenron, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 338 then if getPlayerLevel(cid) >= 150 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,339) addEvent(shenrongt2,ext,cid) doSetCreatureOutfit(cid, shenrons4, -1) doSendMagicEffect(getPlayerPosition(cid), 233) doPlayerSendCancel(cid, "Success Transform.") else doPlayerSendCancel(cid, "Shenron, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 339 then if getPlayerLevel(cid) >= 200 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,340) addEvent(shenrongt3,ext,cid) doSetCreatureOutfit(cid, shenrons6, -1) doSendMagicEffect(getPlayerPosition(cid), 75) else doPlayerSendCancel(cid, "Shenron, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end --- Shenron End --- else doPlayerSendCancel(cid, "You cannot transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end end Se não funciona usa o meu server que ta na minha assinatura. Ele tem muit mais coisa e sem bugs.- 35 respostas
-
- confira xd
- otserv
-
(e 2 mais)
Tags:
-
spell Raios Nas Vocations Sem Bugs [8.00]
tópico respondeu ao gustavo3754 de gustavo3754 em Globalevents e Spells
@Diarmaint Cara tira esse e coloca esse aqui no lugar, abaixo do script vo explicar por que deu erro. local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) local condition = createConditionObject(CONDITION_OUTFIT) setConditionParam(condition, CONDITION_PARAM_TICKS, 86400000) addOutfitCondition(condition, 0, 71, 0, 0, 0, 0) setCombatCondition(combat, condition) c16 = {lookType=467} c161 = {lookType=471} c162 = {lookType=468} c163 = {lookType=469} c164 = {lookType=470} c165 = {lookType=472} c166 = {lookType=473} c167 = {lookType=474} c168 = {lookType=475} gotenksgtssj = {lookType=169} gotenksgtssj3 = {lookType=170} shenrons1 = {lookType=198} shenrons2 = {lookType=77} shenrons3 = {lookType=257} shenrons4 = {lookType=232} shenrons5 = {lookType=20} shenrons6 = {lookType=265} ext = 1000 ---C16--- function trans(cid) if getPlayerVocation(cid) == 412 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 278) addEvent(trans,ext,cid) end end end ---End c16--- ---Reborn c16--- function trans4(cid) if getPlayerVocation(cid) == 416 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid),278) addEvent(trans4,ext,cid) end end end function trans5(cid) if getPlayerVocation(cid) == 417 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 278) addEvent(trans5,ext,cid) end end end function trans6(cid) if getPlayerVocation(cid) == 418 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 278) addEvent(trans6,ext,cid) end end end function trans7(cid) if getPlayerVocation(cid) == 419 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 278) addEvent(trans7,ext,cid) end end end function trans8(cid) if getPlayerVocation(cid) == 514 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 294) addEvent(trans8,ext,cid) end end end --- Reborn c16 End --- --- Gotenks --- function trans(cid) if getPlayerVocation(cid) == 84 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(fusion,ext,cid) end end end function fusion1(cid) if getPlayerVocation(cid) == 85 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 234) addEvent(fusion1,ext,cid) end end end function fusionchibi(cid) if getPlayerVocation(cid) == 317 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(fusionchibi,ext,cid) end end end function fusionchibi2(cid) if getPlayerVocation(cid) == 318 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 234) addEvent(fusionchibi2,ext,cid) end end end --- Gotenks End --- --- Gotenks Reborn --- function fusion2(cid) if getPlayerVocation(cid) == 320 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(fusion2,ext,cid) end end end function fusion3(cid) if getPlayerVocation(cid) == 321 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 234) addEvent(fusion3,ext,cid) end end end function fusionchibigt(cid) if getPlayerVocation(cid) == 323 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(fusionchibigt,ext,cid) end end end function fusionchibigt1(cid) if getPlayerVocation(cid) == 324 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 234) addEvent(fusionchibigt1,ext,cid) end end end --- Chibi Trunks Transform --- --- Gotenks Reborn End --- --- Shenron --- function shenron(cid) if getPlayerVocation(cid) == 330 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 13) addEvent(shenron,ext,cid) end end end function shenron2(cid) if getPlayerVocation(cid) == 331 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 13) addEvent(shenron2,ext,cid) end end end function shenron3(cid) if getPlayerVocation(cid) == 332 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 13) addEvent(shenron3,ext,cid) end end end function shenron4(cid) if getPlayerVocation(cid) == 333 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 13) addEvent(shenron4,ext,cid) end end end function shenron5(cid) if getPlayerVocation(cid) == 334 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 13) addEvent(shenron5,ext,cid) end end end function shenron6(cid) if getPlayerVocation(cid) == 335 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 13) addEvent(shenron6,ext,cid) end end end --- Shenron Reborn --- function shenrongt(cid) if getPlayerVocation(cid) == 337 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(shenrongt,ext,cid) end end end function shenrongt1(cid) if getPlayerVocation(cid) == 338 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(shenrongt1,ext,cid) end end end function shenrongt2(cid) if getPlayerVocation(cid) == 339 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(shenrongt2,ext,cid) end end end function shenrongt3(cid) if getPlayerVocation(cid) == 340 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(shenrongt3,ext,cid) end end end --- Shenron End --- function onCastSpell(cid, var) ---Janemba--- if getPlayerVocation(cid) == 303 then if getPlayerLevel(cid) >= 50 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,304) doSetCreatureOutfit(cid, outfit, -1) addEvent(trans,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 233) else doPlayerSendCancel(cid, "You need 50 level to first transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 304 then if getPlayerLevel(cid) >= 100 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,305) addEvent(trans1,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 33) doSetCreatureOutfit(cid, outfit1, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 305 then if getPlayerLevel(cid) >= 150 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,306) addEvent(trans2,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 18) doSetCreatureOutfit(cid, outfit2, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 306 then if getPlayerLevel(cid) >= 200 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,307) addEvent(trans3,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 243) doSetCreatureOutfit(cid, outfit3, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end --- Reborn --- elseif getPlayerVocation(cid) == 308 then if getPlayerLevel(cid) >= 50 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,309) addEvent(trans4,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 7) doSetCreatureOutfit(cid, outfits, -1) else doPlayerSendCancel(cid, "You need 50 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 309 then if getPlayerLevel(cid) >= 100 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,310) addEvent(trans5,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 33) doSetCreatureOutfit(cid, outfits1, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 310 then if getPlayerLevel(cid) >= 150 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,311) addEvent(trans6,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 18) doSetCreatureOutfit(cid, outfits2, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 311 then if getPlayerLevel(cid) >= 200 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,312) addEvent(trans7,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 243) doSetCreatureOutfit(cid, outfits3, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Janemba? --- --- Gotenks --- elseif getPlayerVocation(cid) == 313 then if getPlayerLevel(cid) >= 150 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,314) addEvent(fusion,ext,cid) doSetCreatureOutfit(cid, gotenksssj, -1) setPlayerStorageValue(cid,20235,1) doSendMagicEffect(getPlayerPosition(cid), 63) else doPlayerSendCancel(cid, "Gotenks! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 314 then if getPlayerLevel(cid) >= 200 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,315) addEvent(fusion1,ext,cid) doSetCreatureOutfit(cid, gotenksssj3, -1) setPlayerStorageValue(cid,20235,2) doSendMagicEffect(getPlayerPosition(cid), 64) else doPlayerSendCancel(cid, "Gotenks! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end --- Chibi --- elseif getPlayerVocation(cid) == 316 then if getPlayerLevel(cid) >= 150 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,317) addEvent(fusionchibi,ext,cid) doSetCreatureOutfit(cid, gotenksssj, -1) setPlayerStorageValue(cid,20235,1) doSendMagicEffect(getPlayerPosition(cid), 63) else doPlayerSendCancel(cid, "Gotenks! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 317 then if getPlayerLevel(cid) >= 200 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,318) addEvent(fusionchibi2,ext,cid) doSetCreatureOutfit(cid, gotenksssj3, -1) setPlayerStorageValue(cid,20235,2) doSendMagicEffect(getPlayerPosition(cid), 64) else doPlayerSendCancel(cid, "Gotenks! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end --- Reborn --- --- Goten --- elseif getPlayerVocation(cid) == 319 then if getPlayerLevel(cid) >= 150 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,320) addEvent(fusion,ext,cid) doSetCreatureOutfit(cid, gotenksgtssj, -1) setPlayerStorageValue(cid,20236,3) doSendMagicEffect(getPlayerPosition(cid), 63) else doPlayerSendCancel(cid, "Gotenks GT! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 320 then if getPlayerLevel(cid) >= 200 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,321) addEvent(fusion1,ext,cid) doSetCreatureOutfit(cid, gotenksgtssj3, -1) setPlayerStorageValue(cid,20236,4) doSendMagicEffect(getPlayerPosition(cid), 64) else doPlayerSendCancel(cid, "Gotenks GT! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end --- Chibi Trunks --- elseif getPlayerVocation(cid) == 322 then if getPlayerLevel(cid) >= 150 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,323) addEvent(fusionchibigt,ext,cid) doSetCreatureOutfit(cid, gotenksgtssj, -1) setPlayerStorageValue(cid,20236,3) doSendMagicEffect(getPlayerPosition(cid), 63) else doPlayerSendCancel(cid, "Gotenks GT! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 323 then if getPlayerLevel(cid) >= 200 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,324) addEvent(fusionchibigt1,ext,cid) doSetCreatureOutfit(cid, gotenksgtssj3, -1) setPlayerStorageValue(cid,20236,4) doSendMagicEffect(getPlayerPosition(cid), 64) else doPlayerSendCancel(cid, "Gotenks GT! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Janemba and others--- --- Shenron --- elseif getPlayerVocation(cid) == 329 then if getPlayerLevel(cid) >= 30 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,330) addEvent(shenron,ext,cid) doSetCreatureOutfit(cid, shenrons1, -1) doSendMagicEffect(getPlayerPosition(cid), 75) else doPlayerSendCancel(cid, "Shenron, You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 330 then if getPlayerLevel(cid) >= 50 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,331) addEvent(shenron2,ext,cid) doSetCreatureOutfit(cid, shenrons2, -1) doSendMagicEffect(getPlayerPosition(cid), 233) else doPlayerSendCancel(cid, "Shenron, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 331 then if getPlayerLevel(cid) >= 75 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,332) addEvent(shenron3,ext,cid) doSetCreatureOutfit(cid, shenrons3, -1) doSendMagicEffect(getPlayerPosition(cid), 75) else doPlayerSendCancel(cid, "Shenron, You need 75 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 332 then if getPlayerLevel(cid) >= 100 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,333) addEvent(shenron4,ext,cid) doSetCreatureOutfit(cid, shenrons4, -1) doSendMagicEffect(getPlayerPosition(cid), 75) else doPlayerSendCancel(cid, "Shenron, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 333 then if getPlayerLevel(cid) >= 150 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,334) addEvent(shenron5,ext,cid) doSetCreatureOutfit(cid, shenrons5, -1) doSendMagicEffect(getPlayerPosition(cid), 233) else doPlayerSendCancel(cid, "Shenron, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 334 then if getPlayerLevel(cid) >= 200 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,335) addEvent(shenron6,ext,cid) doSetCreatureOutfit(cid, shenrons6, -1) doSendMagicEffect(getPlayerPosition(cid), 75) else doPlayerSendCancel(cid, "Shenron, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end --- Shenron Reborn --- elseif getPlayerVocation(cid) == 336 then if getPlayerLevel(cid) >= 50 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,337) addEvent(shenrongt,ext,cid) doSetCreatureOutfit(cid, shenrons2, -1) doSendMagicEffect(getPlayerPosition(cid), 75) else doPlayerSendCancel(cid, "Shenron, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 337 then if getPlayerLevel(cid) >= 100 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,338) addEvent(shenrongt1,ext,cid) doSetCreatureOutfit(cid, shenrons3, -1) doSendMagicEffect(getPlayerPosition(cid), 75) else doPlayerSendCancel(cid, "Shenron, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 338 then if getPlayerLevel(cid) >= 150 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,339) addEvent(shenrongt2,ext,cid) doSetCreatureOutfit(cid, shenrons4, -1) doSendMagicEffect(getPlayerPosition(cid), 233) doPlayerSendCancel(cid, "Success Transform.") else doPlayerSendCancel(cid, "Shenron, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 339 then if getPlayerLevel(cid) >= 200 then doPlayerSay(cid, 'Transforms', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,340) addEvent(shenrongt3,ext,cid) doSetCreatureOutfit(cid, shenrons6, -1) doSendMagicEffect(getPlayerPosition(cid), 75) else doPlayerSendCancel(cid, "Shenron, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end --- Shenron End --- else doPlayerSendCancel(cid, "You cannot transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end end Simples, ocorreu aquele erro por que você fez uma coisa nessa parte. ---C16--- function trans(cid) if getPlayerVocation(cid) == 412 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 278) addEvent(trans,ext,cid) end end end function trans1(cid) if getPlayerVocation(cid) == 413 then if getPlayerMana(cid) >= 0 then addEvent(trans1,ext,cid) end end end Percebeu? Na segunda vez que você copiou e colou voce não colocou efeito, que é a quarta (4º) linha. doSendMagicEffect(getPlayerPosition(cid), 278) Então nao tinha nescecidade de você faser tantas copias se somente uma vocation ia sair efeito, tinha que ser somente uma linha com uma função e não varias sem função, deve ser por isso que o server não estava lendo o script. Preste mais atenção Se funcionar REP+ Ae, pra me ajudar- 35 respostas
-
- confira xd
- otserv
-
(e 2 mais)
Tags:
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.