Postado Janeiro 22, 2015 10 anos Pus uma vocation nova no server, ela transforma tudo normal, mas quando desloga ela volta pra outfit inicial, porem a id vocation continua... O que fazer ? obrigado rep+
Postado Janeiro 22, 2015 10 anos se essa outfit nova for por condition vai remover mesmo, vc tem que adicionar a outfit no player e não somente setar ela. Todos os meus trabalhos importantes estão na seção "Sobre mim" no meu perfil; Dá uma passada lá! "Há três caminhos para o fracasso: não ensinar o que se sabe, não praticar o que se ensina, e não perguntar o que se ignora." - São Beda (obg ao @Beeny por fazer essa linda sign <3)
Postado Janeiro 22, 2015 10 anos Autor se essa outfit nova for por condition vai remover mesmo, vc tem que adicionar a outfit no player e não somente setar ela. Como assim ? olha o meu script de transform 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) outfit = {lookType=357} outfit1 = {lookType=358} outfit2 = {lookType=359} outfit3 = {lookType=360} outfits = {lookType=361} outfits2 = {lookType=362} outfits3 = {lookType=373} cooler = {lookType=379} uub = {lookType=382} freeza = {lookType=378} kuririn2 = {lookType=352} vegeta = {lookType=364} bardoc = {lookType=380} trunks = {lookType=374} c17 = {lookType=375} gohan = {lookType=381} goku = {lookType=277} brolly = {lookType=365} cell = {lookType=369} namekjin = {lookType=377} ggotenks = {lookType=367} buu = {lookType=368} c18 = {lookType=376} tsuful = {lookType=366} gotenksgtssj = {lookType=169} gotenksgtssj3 = {lookType=170} sr1 = {lookType=328} sr2 = {lookType=341} sr3 = {lookType=80} sr4 = {lookType=342} sr5 = {lookType=355} sr6 = {lookType=363} videl1 = {lookType=336} videl2 = {lookType=335} videl3 = {lookType=337} videl4 = {lookType=286} videl5 = {lookType=383} kidpan = {lookType=102} teenpan = {lookType=330} panssj = {lookType=331} panssj3 = {lookType=332} pangolden = {lookType=46} panssj4 = {lookType=333} panssj5 = {lookType=384} kidjanemba = {lookType=280} fatjanemba = {lookType=120} superjanemba = {lookType=110} ultimatejanemba = {lookType=134} finaljanemba = {lookType=372} tenshinaura = {lookType=350} supertenshin = {lookType=351} ultimatetenshin = {lookType=352} ultimatetenshinaura = {lookType=353} whitetenshin = {lookType=44} redtenshin = {lookType=49} yellowtenshin = {lookType=42} demontenshin = {lookType=385} s1 = {lookType=232} s2 = {lookType=257} s3 = {lookType=265} s4 = {lookType=325} s5 = {lookType=284} ta = {lookType=444} ta1 = {lookType=445} ta2 = {lookType=446} ta3 = {lookType=447} ta5 = {lookType=448} ta6 = {lookType=449} ta7 = {lookType=450} ta8 = {lookType=451} ta9 = {lookType=452} ta10 = {lookType=453} za1 = {lookType=450} za2 = {lookType=451} za3 = {lookType=452} za4 = {lookType=453} za5 = {lookType=455} za6 = {lookType=456} za7 = {lookType=457} za8 = {lookType=458} za9 = {lookType=459} ki1 = {lookType=434} ki2 = {lookType=432} ki3 = {lookType=431} ki4 = {lookType=433} ki5 = {lookType=440} ki6 = {lookType=439} ki7 = {lookType=438} ki8 = {lookType=437} ki9 = {lookType=436} ve1 = {lookType=392} ve2 = {lookType=389} ve3 = {lookType=393} ve4 = {lookType=392} ve5 = {lookType=389} ve6 = {lookType=393} ve7 = {lookType=394} ve8 = {lookType=390} ext = 1000 ---Kuririn--- function trans1(cid) if getPlayerVocation(cid) == 313 then if getPlayerMana(cid) >= 0 then addEvent(trans1,ext,cid) end end end function trans2(cid) if getPlayerVocation(cid) == 314 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 234) addEvent(trans2,ext,cid) end end end function trans3(cid) if getPlayerVocation(cid) == 315 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(trans3,ext,cid) end end end function trans4(cid) if getPlayerVocation(cid) == 316 then if getPlayerMana(cid) >= 0 then addEvent(trans4,ext,cid) end end end ---End Kuririn--- ---Reborn Kuririn--- function trans5(cid) if getPlayerVocation(cid) == 317 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 191) addEvent(trans5,ext,cid) end end end function trans6(cid) if getPlayerVocation(cid) == 318 then if getPlayerMana(cid) >= 0 then addEvent(trans6,ext,cid) end end end function trans7(cid) if getPlayerVocation(cid) == 319 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 191) addEvent(trans7,ext,cid) end end end function trans8(cid) if getPlayerVocation(cid) == 320 then if getPlayerMana(cid) >= 0 then addEvent(trans8,ext,cid) end end end function trans9(cid) if getPlayerVocation(cid) == 321 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 191) addEvent(trans9,ext,cid) end end end function trans10(cid) if getPlayerVocation(cid) == 322 then if getPlayerMana(cid) >= 0 then addEvent(trans10,ext,cid) end end end --- Reborn Kuririn End --- ---Shin--- function trans12(cid) if getPlayerVocation(cid) == 324 then if getPlayerMana(cid) >= 0 then addEvent(trans12,ext,cid) end end end function trans13(cid) if getPlayerVocation(cid) == 325 then if getPlayerMana(cid) >= 0 then addEvent(trans13,ext,cid) end end end function trans14(cid) if getPlayerVocation(cid) == 326 then if getPlayerMana(cid) >= 0 then addEvent(trans14,ext,cid) end end end function trans15(cid) if getPlayerVocation(cid) == 327 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 190) addEvent(trans15,ext,cid) end end end ---End Shin--- ---Reborn Shin--- function trans16(cid) if getPlayerVocation(cid) == 329 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 190) addEvent(trans16,ext,cid) end end end function trans17(cid) if getPlayerVocation(cid) == 330 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(trans17,ext,cid) end end end function trans18(cid) if getPlayerVocation(cid) == 331 then if getPlayerMana(cid) >= 0 then addEvent(trans18,ext,cid) end end end function trans19(cid) if getPlayerVocation(cid) == 332 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(trans19,ext,cid) end end end function trans20(cid) if getPlayerVocation(cid) == 333 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 42) addEvent(trans20,ext,cid) end end end --- Reborn Shin End --- ---Videl--- function trans22(cid) if getPlayerVocation(cid) == 335 then if getPlayerMana(cid) >= 0 then addEvent(trans22,ext,cid) end end end function trans23(cid) if getPlayerVocation(cid) == 336 then if getPlayerMana(cid) >= 0 then addEvent(trans23,ext,cid) end end end function trans24(cid) if getPlayerVocation(cid) == 337 then if getPlayerMana(cid) >= 0 then addEvent(trans24,ext,cid) end end end function trans25(cid) if getPlayerVocation(cid) == 338 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 190) addEvent(trans25,ext,cid) end end end ---End Videl--- ---Reborn Videl--- function trans26(cid) if getPlayerVocation(cid) == 340 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(trans26,ext,cid) end end end function trans27(cid) if getPlayerVocation(cid) == 341 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(trans27,ext,cid) end end end function trans28(cid) if getPlayerVocation(cid) == 342 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(trans28,ext,cid) end end end function trans29(cid) if getPlayerVocation(cid) == 343 then if getPlayerMana(cid) >= 0 then addEvent(trans29,ext,cid) end end end function trans30(cid) if getPlayerVocation(cid) == 344 then if getPlayerMana(cid) >= 0 then addEvent(trans30,ext,cid) end end end --- Reborn Videl End --- ---Pan--- function trans31(cid) if getPlayerVocation(cid) == 348 then if getPlayerMana(cid) >= 0 then addEvent(trans31,ext,cid) end end end function trans32(cid) if getPlayerVocation(cid) == 349 then if getPlayerMana(cid) >= 0 then addEvent(trans32,ext,cid) end end end function trans33(cid) if getPlayerVocation(cid) == 350 then if getPlayerMana(cid) >= 0 then addEvent(trans33,ext,cid) end end end function trans34(cid) if getPlayerVocation(cid) == 351 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 13) addEvent(trans34,ext,cid) end end end ---End Pan--- ---Reborn Pan--- function trans35(cid) if getPlayerVocation(cid) == 353 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(trans35,ext,cid) end end end function trans36(cid) if getPlayerVocation(cid) == 354 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(trans36,ext,cid) end end end function trans37(cid) if getPlayerVocation(cid) == 355 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(trans37,ext,cid) end end end function trans38(cid) if getPlayerVocation(cid) == 356 then if getPlayerMana(cid) >= 0 then addEvent(trans38,ext,cid) end end end function trans39(cid) if getPlayerVocation(cid) == 357 then if getPlayerMana(cid) >= 0 then addEvent(trans39,ext,cid) end end end function trans40(cid) if getPlayerVocation(cid) == 358 then if getPlayerMana(cid) >= 0 then addEvent(trans40,ext,cid) end end end --- Reborn Pan End --- ---Freeza trans 400--- function trans11(cid) if getPlayerVocation(cid) == 345 then if getPlayerMana(cid) >= 0 then addEvent(trans11,ext,cid) end end end ---Freeza trans 400--- ---Uub trans 400--- function trans50(cid) if getPlayerVocation(cid) == 359 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(trans50,ext,cid) end end end ---Uub trans 400--- ---Cooler trans 400--- function trans51(cid) if getPlayerVocation(cid) == 360 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 330) addEvent(trans51,ext,cid) end end end ---Cooler trans 400--- ---Vegeta trans 400--- function trans52(cid) if getPlayerVocation(cid) == 361 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(trans52,ext,cid) end end end ---Vegeta trans 400--- ---Bardoc trans 400--- function trans53(cid) if getPlayerVocation(cid) == 362 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(trans53,ext,cid) end end end ---Bardoc trans 400--- ---Trunks trans 400--- function trans54(cid) if getPlayerVocation(cid) == 363 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(trans54,ext,cid) end end end ---Trunks trans 400--- ---C17 trans 400--- function trans55(cid) if getPlayerVocation(cid) == 364 then if getPlayerMana(cid) >= 0 then addEvent(trans55,ext,cid) end end end ---=C17 trans 400-- ---Gohan trans 400--- function trans56(cid) if getPlayerVocation(cid) == 365 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(trans56,ext,cid) end end end ---=Gohan trans 400-- ---Goku trans 400--- function trans57(cid) if getPlayerVocation(cid) == 366 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(trans57,ext,cid) end end end ---=Goku trans 400-- ---Janemba--- function trans58(cid) if getPlayerVocation(cid) == 368 then if getPlayerMana(cid) >= 0 then addEvent(trans58,ext,cid) end end end function trans58(cid) if getPlayerVocation(cid) == 369 then if getPlayerMana(cid) >= 0 then addEvent(trans58,ext,cid) end end end function trans59(cid) if getPlayerVocation(cid) == 370 then if getPlayerMana(cid) >= 0 then addEvent(trans59,ext,cid) end end end function trans60(cid) if getPlayerVocation(cid) == 371 then if getPlayerMana(cid) >= 0 then addEvent(trans61,ext,cid) end end end ---End Janemba--- ---Reborn Janemba--- function trans63(cid) if getPlayerVocation(cid) == 373 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(trans63,ext,cid) end end end function trans64(cid) if getPlayerVocation(cid) == 374 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 176) addEvent(trans64,ext,cid) end end end function trans65(cid) if getPlayerVocation(cid) == 375 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(trans65,ext,cid) end end end function trans66(cid) if getPlayerVocation(cid) == 376 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(trans66,ext,cid) end end end function trans67(cid) if getPlayerVocation(cid) == 377 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(trans67,ext,cid) end end end --- Reborn Janemba End --- ---Tenshin--- function trans68(cid) if getPlayerVocation(cid) == 379 then if getPlayerMana(cid) >= 0 then addEvent(trans68,ext,cid) end end end function trans69(cid) if getPlayerVocation(cid) == 380 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 191) addEvent(trans69,ext,cid) end end end function trans70(cid) if getPlayerVocation(cid) == 381 then if getPlayerMana(cid) >= 0 then addEvent(trans70,ext,cid) end end end function trans71(cid) if getPlayerVocation(cid) == 382 then if getPlayerMana(cid) >= 0 then addEvent(trans71,ext,cid) end end end ---End Tenshin--- ---Reborn Tenshin--- function trans72(cid) if getPlayerVocation(cid) == 384 then if getPlayerMana(cid) >= 0 then addEvent(trans72,ext,cid) end end end function trans73(cid) if getPlayerVocation(cid) == 385 then if getPlayerMana(cid) >= 0 then addEvent(trans73,ext,cid) end end end function trans74(cid) if getPlayerVocation(cid) == 386 then if getPlayerMana(cid) >= 0 then addEvent(trans74,ext,cid) end end end function trans75(cid) if getPlayerVocation(cid) == 387 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 191) addEvent(trans75,ext,cid) end end end function trans76(cid) if getPlayerVocation(cid) == 388 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(trans76,ext,cid) end end end --- Reborn Tenshin End --- ---Brolly trans 400--- function trans77(cid) if getPlayerVocation(cid) == 389 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(trans77,ext,cid) end end end ---Brolly trans 400--- ---Cell trans 400--- function trans78(cid) if getPlayerVocation(cid) == 390 then if getPlayerMana(cid) >= 0 then addEvent(trans78,ext,cid) end end end ---Cell trans 400--- ---Nameq trans 400--- function trans79(cid) if getPlayerVocation(cid) == 391 then if getPlayerMana(cid) >= 0 then addEvent(trans79,ext,cid) end end end ---Nameq trans 400--- ---Gotenks trans 400--- function trans80(cid) if getPlayerVocation(cid) == 392 then if getPlayerMana(cid) >= 0 then addEvent(trans80,ext,cid) end end end ---Gotenks trans 400--- ---BUU trans 400--- function trans81(cid) if getPlayerVocation(cid) == 393 then if getPlayerMana(cid) >= 0 then addEvent(trans81,ext,cid) end end end ---Buu trans 400--- ---C18 trans 400--- function trans82(cid) if getPlayerVocation(cid) == 394 then if getPlayerMana(cid) >= 0 then addEvent(trans82,ext,cid) end end end ---C18 trans 400--- ---Shenron--- function trans83(cid) if getPlayerVocation(cid) == 396 then if getPlayerMana(cid) >= 0 then addEvent(trans83,ext,cid) end end end function trans84(cid) if getPlayerVocation(cid) == 397 then if getPlayerMana(cid) >= 0 then addEvent(trans84,ext,cid) end end end function trans85(cid) if getPlayerVocation(cid) == 398 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 234) addEvent(trans85,ext,cid) end end end function trans86(cid) if getPlayerVocation(cid) == 399 then if getPlayerMana(cid) >= 0 then addEvent(trans86,ext,cid) end end end ---End Shenron--- ---Reborn Shenron--- function trans87(cid) if getPlayerVocation(cid) == 401 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 330) addEvent(trans87,ext,cid) end end end function trans88(cid) if getPlayerVocation(cid) == 402 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 330) addEvent(trans88,ext,cid) end end end function trans89(cid) if getPlayerVocation(cid) == 403 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 330) addEvent(trans89,ext,cid) end end end function trans90(cid) if getPlayerVocation(cid) == 404 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 330) addEvent(trans90,ext,cid) end end end function trans91(cid) if getPlayerVocation(cid) == 405 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(trans91,ext,cid) end end end --- Reborn Shenron End --- ---Tsuful trans 400--- function trans92(cid) if getPlayerVocation(cid) == 406 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(trans92,ext,cid) end end end ---Tsuful trans 400--- ---Tapion--- function trans1(cid) if getPlayerVocation(cid) == 399 then if getPlayerMana(cid) >= 0 then addEvent(trans1,ext,cid) end end end function trans2(cid) if getPlayerVocation(cid) == 400 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 234) addEvent(trans2,ext,cid) end end end ---End Tapion--- ---Reborn Tapion--- function trans16(cid) if getPlayerVocation(cid) == 402 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 190) addEvent(trans16,ext,cid) end end end function trans17(cid) if getPlayerVocation(cid) == 393 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(trans17,ext,cid) end end end function trans18(cid) if getPlayerVocation(cid) == 394 then if getPlayerMana(cid) >= 0 then addEvent(trans18,ext,cid) end end end function trans19(cid) if getPlayerVocation(cid) == 395 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 330) addEvent(trans19,ext,cid) end end end function trans20(cid) if getPlayerVocation(cid) == 396 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(trans20,ext,cid) end end end function trans20(cid) if getPlayerVocation(cid) == 397 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(trans20,ext,cid) end end end --- Reborn Tapion End --- ---Zaiko--- function trans1(cid) if getPlayerVocation(cid) == 419 then if getPlayerMana(cid) >= 0 then addEvent(trans1,ext,cid) end end end function trans2(cid) if getPlayerVocation(cid) == 420 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 234) addEvent(trans2,ext,cid) end end end function trans3(cid) if getPlayerVocation(cid) == 421 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 330) addEvent(trans3,ext,cid) end end end function trans4(cid) if getPlayerVocation(cid) == 422 then if getPlayerMana(cid) >= 0 then addEvent(trans4,ext,cid) end end end ---End Zaiko--- ---Reborn Zaiko--- function trans16(cid) if getPlayerVocation(cid) == 424 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(trans16,ext,cid) end end end function trans17(cid) if getPlayerVocation(cid) == 425 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(trans17,ext,cid) end end end function trans18(cid) if getPlayerVocation(cid) == 426 then if getPlayerMana(cid) >= 0 then addEvent(trans18,ext,cid) end end end function trans19(cid) if getPlayerVocation(cid) == 427 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(trans19,ext,cid) end end end function trans20(cid) if getPlayerVocation(cid) == 428 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(trans20,ext,cid) end end end --- Reborn Zaiko End --- ---King--- function trans1(cid) if getPlayerVocation(cid) == 430 then if getPlayerMana(cid) >= 0 then addEvent(trans1,ext,cid) end end end function trans2(cid) if getPlayerVocation(cid) == 431 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 234) addEvent(trans2,ext,cid) end end end function trans3(cid) if getPlayerVocation(cid) == 432 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(trans3,ext,cid) end end end function trans4(cid) if getPlayerVocation(cid) == 433 then if getPlayerMana(cid) >= 0 then addEvent(trans4,ext,cid) end end end ---End King--- ---Reborn King--- function trans16(cid) if getPlayerVocation(cid) == 435 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(trans16,ext,cid) end end end function trans17(cid) if getPlayerVocation(cid) == 436 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(trans17,ext,cid) end end end function trans18(cid) if getPlayerVocation(cid) == 437 then if getPlayerMana(cid) >= 0 then addEvent(trans18,ext,cid) end end end function trans19(cid) if getPlayerVocation(cid) == 438 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(trans19,ext,cid) end end end function trans20(cid) if getPlayerVocation(cid) == 439 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(trans20,ext,cid) end end end --- Reborn King End --- ---vegetto--- function trans1(cid) if getPlayerVocation(cid) == 441 then if getPlayerMana(cid) >= 0 then addEvent(trans1,ext,cid) end end end function trans2(cid) if getPlayerVocation(cid) == 442 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 234) addEvent(trans2,ext,cid) end end end function trans3(cid) if getPlayerVocation(cid) == 443 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(trans3,ext,cid) end end end ---End Vegetto--- ---Reborn Vegetto--- function trans16(cid) if getPlayerVocation(cid) == 445 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 74) addEvent(trans16,ext,cid) end end end function trans17(cid) if getPlayerVocation(cid) == 446 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 74) addEvent(trans17,ext,cid) end end end function trans18(cid) if getPlayerVocation(cid) == 447 then if getPlayerMana(cid) >= 0 then addEvent(trans18,ext,cid) end end end function trans19(cid) if getPlayerVocation(cid) == 448 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 74) addEvent(trans19,ext,cid) end end end function trans20(cid) if getPlayerVocation(cid) == 449 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 74) addEvent(trans20,ext,cid) end end end --- Reborn Vegetto End --- function onCastSpell(cid, var) ---Kuririn--- if getPlayerVocation(cid) == 312 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,313) doSetCreatureOutfit(cid, outfit, -1) addEvent(trans1,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 8) else doPlayerSendCancel(cid, "You need 50 level to first transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 313 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,314) addEvent(trans2,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 34) doSetCreatureOutfit(cid, outfit1, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 314 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,315) addEvent(trans3,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, outfit2, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 315 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,316) addEvent(trans4,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, outfit3, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end --- Reborn --- elseif getPlayerVocation(cid) == 317 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,318) addEvent(trans5,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, outfits, -1) else doPlayerSendCancel(cid, "You need 50 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 318 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,319) addEvent(trans7,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, outfits, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 319 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,320) addEvent(trans8,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, outfits2, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 320 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,321) addEvent(trans9,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, outfits2, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 321 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,322) addEvent(trans10,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, outfits3, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Kuririn --- ---Shin--- elseif getPlayerVocation(cid) == 323 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,324) doSetCreatureOutfit(cid, sr1, -1) addEvent(trans12,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 8) else doPlayerSendCancel(cid, "You need 50 level to first transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 324 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,325) addEvent(trans13,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, sr2, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 325 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,326) addEvent(trans14,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 7) doSetCreatureOutfit(cid, sr3, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 326 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,327) addEvent(trans15,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, sr3, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end --- Reborn --- elseif getPlayerVocation(cid) == 328 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,329) addEvent(trans16,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, sr3, -1) else doPlayerSendCancel(cid, "You need 50 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 329 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,330) addEvent(trans17,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, sr3, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 330 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,331) addEvent(trans18,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, sr4, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 331 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,332) addEvent(trans19,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, sr5, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 332 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,333) addEvent(trans20,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, sr6, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Shin --- ---Videl--- elseif getPlayerVocation(cid) == 334 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,335) doSetCreatureOutfit(cid, videl1, -1) addEvent(trans22,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 8) else doPlayerSendCancel(cid, "You need 50 level to first transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 335 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,336) addEvent(trans23,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 8) doSetCreatureOutfit(cid, videl2, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 336 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,337) addEvent(trans24,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 8) doSetCreatureOutfit(cid, videl3, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 337 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,338) addEvent(trans25,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, videl3, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end --- Reborn --- elseif getPlayerVocation(cid) == 339 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,340) addEvent(trans26,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, videl1, -1) else doPlayerSendCancel(cid, "You need 50 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 340 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,341) addEvent(trans27,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, videl2, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 341 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,342) addEvent(trans28,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, videl3, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 342 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,343) addEvent(trans29,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, videl4, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 343 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,344) addEvent(trans30,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, videl5, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Videl --- ---Pan--- elseif getPlayerVocation(cid) == 347 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,348) doSetCreatureOutfit(cid, kidpan, -1) addEvent(trans31,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 8) else doPlayerSendCancel(cid, "You need 50 level to first transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 348 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,349) addEvent(trans32,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, teenpan, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 349 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,350) addEvent(trans33,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 151) doSetCreatureOutfit(cid, panssj, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 350 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,351) addEvent(trans34,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 152) doSetCreatureOutfit(cid, panssj3, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end --- Reborn --- elseif getPlayerVocation(cid) == 352 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,353) addEvent(trans35,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, teenpan, -1) else doPlayerSendCancel(cid, "You need 50 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 353 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,354) addEvent(trans36,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 151) doSetCreatureOutfit(cid, panssj, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 354 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,355) addEvent(trans37,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 152) doSetCreatureOutfit(cid, panssj3, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 355 then if getPlayerLevel(cid) >= 199 then doPlayerSetVocation(cid,356) addEvent(trans38,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 233) doSetCreatureOutfit(cid, pangolden, -1) else doPlayerSendCancel(cid, "You need 199 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 356 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,357) addEvent(trans39,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 153) doSetCreatureOutfit(cid, panssj4, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 357 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,358) addEvent(trans40,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, panssj5, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Pan --- ---Freeza--- elseif getPlayerVocation(cid) == 257 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,345) addEvent(trans11,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, freeza, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Freeza--- ---Uub--- elseif getPlayerVocation(cid) == 297 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,359) addEvent(trans50,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, uub, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Uub--- ---Cooler--- elseif getPlayerVocation(cid) == 285 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,360) addEvent(trans51,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, cooler, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Cooler--- ---Vegeta--- elseif getPlayerVocation(cid) == 219 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,361) addEvent(trans52,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 81) doSetCreatureOutfit(cid, vegeta, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Vegeta--- ---Bardoc--- elseif getPlayerVocation(cid) == 291 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,362) addEvent(trans53,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, bardoc, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Bardoc--- ---Trunks--- elseif getPlayerVocation(cid) == 226 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,363) addEvent(trans54,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, trunks, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Trunks--- ---C17--- elseif getPlayerVocation(cid) == 262 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,364) addEvent(trans55,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 18) doSetCreatureOutfit(cid, c17, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End c17--- ---Gohan--- elseif getPlayerVocation(cid) == 213 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,365) addEvent(trans56,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 54) doSetCreatureOutfit(cid, gohan, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Gohan--- ---Goku--- elseif getPlayerVocation(cid) == 206 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,366) addEvent(trans57,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, goku, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Gohan--- ---Janemba--- elseif getPlayerVocation(cid) == 367 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,368) doSetCreatureOutfit(cid, kidjanemba, -1) addEvent(trans58,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 8) else doPlayerSendCancel(cid, "You need 50 level to first transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 368 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,369) addEvent(trans59,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 33) doSetCreatureOutfit(cid, fatjanemba, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 369 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,370) addEvent(trans60,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, superjanemba, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 370 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,371) addEvent(trans61,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 243) doSetCreatureOutfit(cid, ultimatejanemba, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end --- Reborn --- elseif getPlayerVocation(cid) == 372 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,373) addEvent(trans63,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, kidjanemba, -1) else doPlayerSendCancel(cid, "You need 50 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 373 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,374) addEvent(trans64,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 33) doSetCreatureOutfit(cid, fatjanemba, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 374 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,375) addEvent(trans65,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, superjanemba, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 375 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,376) addEvent(trans66,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 243) doSetCreatureOutfit(cid, ultimatejanemba, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 376 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,377) addEvent(trans67,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, finaljanemba, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Janemba --- ---Tenshin--- elseif getPlayerVocation(cid) == 378 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,379) doSetCreatureOutfit(cid, tenshinaura, -1) addEvent(trans68,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 8) else doPlayerSendCancel(cid, "You need 50 level to first transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 379 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,380) addEvent(trans69,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, supertenshin, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 380 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,381) addEvent(trans70,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 8) doSetCreatureOutfit(cid, ultimatetenshin, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 381 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,382) addEvent(trans71,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, ultimatetenshinaura, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end --- Reborn --- elseif getPlayerVocation(cid) == 383 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,384) addEvent(trans72,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 11) doSetCreatureOutfit(cid, whitetenshin, -1) else doPlayerSendCancel(cid, "You need 50 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 384 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,385) addEvent(trans73,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 16) doSetCreatureOutfit(cid, redtenshin, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 385 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,386) addEvent(trans74,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 12) doSetCreatureOutfit(cid, yellowtenshin, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 386 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,387) addEvent(trans75,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, yellowtenshin, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 387 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,388) addEvent(trans76,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, demontenshin, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Tenshin --- ---Brolly--- elseif getPlayerVocation(cid) == 273 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,389) addEvent(trans77,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 185) doSetCreatureOutfit(cid, brolly, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Brolly--- ---Cell--- elseif getPlayerVocation(cid) == 279 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,390) addEvent(trans78,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, cell, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Cell--- ---Namekjin--- elseif getPlayerVocation(cid) == 241 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,391) addEvent(trans79,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, namekjin, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Namekjin--- ---Gotenks--- elseif getPlayerVocation(cid) == 231 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,392) addEvent(trans80,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, ggotenks, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Gotenks--- ---C18--- elseif getPlayerVocation(cid) == 267 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,394) addEvent(trans82,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, c18, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End C18--- ---Buu--- elseif getPlayerVocation(cid) == 252 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,393) addEvent(trans81,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 82) doSetCreatureOutfit(cid, buu, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Buu--- ---Shenron--- elseif getPlayerVocation(cid) == 395 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,396) doSetCreatureOutfit(cid, s1, -1) addEvent(trans83,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "You need 50 level to first transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 396 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,397) addEvent(trans84,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, s2, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 397 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,398) addEvent(trans85,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, s3, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 398 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,399) addEvent(trans86,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 33) doSetCreatureOutfit(cid, s4, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end --- Reborn --- elseif getPlayerVocation(cid) == 400 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,401) addEvent(trans87,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, s1, -1) else doPlayerSendCancel(cid, "You need 50 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 401 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,402) addEvent(trans88,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, s2, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 402 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,403) addEvent(trans89,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, s3, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 403 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,404) addEvent(trans90,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 33) doSetCreatureOutfit(cid, s4, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 404 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,405) addEvent(trans91,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, s5, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Shenron --- ---Tsuful--- elseif getPlayerVocation(cid) == 246 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,406) addEvent(trans92,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 33) doSetCreatureOutfit(cid, tsuful, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Tsuful--- ---Tapion--- elseif getPlayerVocation(cid) == 399 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,400) addEvent(trans1,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 33) doSetCreatureOutfit(cid, ta1, -1) else doPlayerSendCancel(cid, "You need 50 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 400 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,401) addEvent(trans2,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 234) doSetCreatureOutfit(cid, ta2, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 401 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,402) addEvent(trans3,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 234) doSetCreatureOutfit(cid, ta3, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---Reborn--- elseif getPlayerVocation(cid) == 392 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,393) addEvent(trans92,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 234) doSetCreatureOutfit(cid, ta5, -1) else doPlayerSendCancel(cid, "You need 50 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 393 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,394) addEvent(trans92,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 234) doSetCreatureOutfit(cid, ta6, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 394 then if getPlayerLevel(cid) >= 175 then doPlayerSetVocation(cid,395) addEvent(trans92,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 234) doSetCreatureOutfit(cid, ta7, -1) else doPlayerSendCancel(cid, "You need 175 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 395 then if getPlayerLevel(cid) >= 250 then doPlayerSetVocation(cid,396) addEvent(trans92,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 234) doSetCreatureOutfit(cid, ta8, -1) else doPlayerSendCancel(cid, "You need 250 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 396 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,397) addEvent(trans92,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 234) doSetCreatureOutfit(cid, ta9, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Tapion --- ---Zaiko--- elseif getPlayerVocation(cid) == 418 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,419) doSetCreatureOutfit(cid, za1, -1) addEvent(trans12,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 8) else doPlayerSendCancel(cid, "You need 50 level to first transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 419 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,420) addEvent(trans13,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, za2, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 420 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,421) addEvent(trans14,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 7) doSetCreatureOutfit(cid, za3, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 421 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,422) addEvent(trans15,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, za4, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end --- Reborn --- elseif getPlayerVocation(cid) == 423 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,424) addEvent(trans16,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, za5, -1) else doPlayerSendCancel(cid, "You need 50 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 424 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,425) addEvent(trans17,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, za6, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 425 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,426) addEvent(trans18,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, za7, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 426 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,427) addEvent(trans19,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, za8, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 427 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,428) addEvent(trans20,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, za9, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Zaiko --- ---King--- elseif getPlayerVocation(cid) == 429 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,430) doSetCreatureOutfit(cid, ki1, -1) addEvent(trans1,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 8) else doPlayerSendCancel(cid, "You need 50 level to first transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 430 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,431) addEvent(trans2,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 34) doSetCreatureOutfit(cid, ki2, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 431 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,432) addEvent(trans3,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, ki3, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 432 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,433) addEvent(trans4,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, ki4, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end --- Reborn --- elseif getPlayerVocation(cid) == 434 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,435) addEvent(trans16,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, ki5, -1) else doPlayerSendCancel(cid, "You need 50 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 435 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,436) addEvent(trans17,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, ki6, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 436 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,437) addEvent(trans18,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, ki7, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 437 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,438) addEvent(trans19,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, ki8, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 438 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,439) addEvent(trans20,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, ki9, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End King --- ---Vegetto--- elseif getPlayerVocation(cid) == 440 then if getPlayerLevel(cid) >= 75 then doPlayerSetVocation(cid,441) doSetCreatureOutfit(cid, ve1, -1) addEvent(trans1,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 8) else doPlayerSendCancel(cid, "You need 75 level to first transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 441 then if getPlayerLevel(cid) >= 125 then doPlayerSetVocation(cid,442) addEvent(trans2,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 34) doSetCreatureOutfit(cid, ve2, -1) else doPlayerSendCancel(cid, "You need 125 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 442 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,443) addEvent(trans3,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, ve3, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end --- Reborn --- elseif getPlayerVocation(cid) == 444 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,445) addEvent(trans16,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, ve4, -1) else doPlayerSendCancel(cid, "You need 50 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 445 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,446) addEvent(trans17,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, ve5, -1) else doPlayerSendCancel(cid, "You need 100 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 446 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,447) addEvent(trans18,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, ve6, -1) else doPlayerSendCancel(cid, "You need 150 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 447 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,448) addEvent(trans19,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, ve7, -1) else doPlayerSendCancel(cid, "You need 200 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 448 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,449) addEvent(trans20,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 32) doSetCreatureOutfit(cid, ve8, -1) else doPlayerSendCancel(cid, "You need 400 level to next transform") doSendMagicEffect(getPlayerPosition(cid), 2) end ---End Vegetto--- else doPlayerSendCancel(cid, "You cannot transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end end Editado Janeiro 22, 2015 10 anos por xWhiteWolf use [spoiler] [/spoiler] para codes grandes (veja o histórico de edições)
Postado Janeiro 22, 2015 10 anos vc tá apenas setando o outfit temporariamente no player, pra ficar pra sempre vc teria que modificar todo esse script gigante aí pra modificar o lookType na própria db. Todos os meus trabalhos importantes estão na seção "Sobre mim" no meu perfil; Dá uma passada lá! "Há três caminhos para o fracasso: não ensinar o que se sabe, não praticar o que se ensina, e não perguntar o que se ignora." - São Beda (obg ao @Beeny por fazer essa linda sign <3)
Postado Janeiro 23, 2015 10 anos vc tá apenas setando o outfit temporariamente no player, pra ficar pra sempre vc teria que modificar todo esse script gigante aí pra modificar o lookType na própria db. Ou somente criar um creaturescript para verificar a vocação e colocar o outfit caso a vocação seja verdadeira. Se quiser sua dúvida tirada, mande PM com os links, e não com a dúvida (outros podem ter a mesma dúvida, e o fórum serve para ser usado). Tópicos: [FAQ] BBCODE [LIB] Constant [RME] Administrando bordas. [TALK] Broadcast Editável. [TALK] Sugest. [TALK] Checkpoint. [MOVE] Pântano pegajoso. [ACTION] Piggy Bank. (Cassino). [GLOBAL] Uptime Ad. [C0DE] Consertando 'Invalid Password' [PROGRAM] Quest Maker
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.