Ir para conteúdo
  • Cadastre-se

Posts Recomendados

Bom esse é o famoso Transformar dos servidores de naruto, teria como colocar algo do tipo

 

local position1 = {x=getThingPosition(getCreatureTarget(cid)).x, y=getThingPosition(getCreatureTarget(cid)).y, z=getThingPosition(getCreatureTarget(cid)).z}

 

Para ajustar o efeito encima do player?

 

local config = {
--[vocation id] = { level, nova voc, looktype, efeito}
[1] = { 50, 2, 66, 3},                                    
[2] = { 100, 3, 91, 3},
[3] = { 150, 4, 18, 3},
[4] = { 200, 5, 31, 3},
[5] = { 250, 6, 92, 3},
[6] = { 300, 7, 40, 3},
[7] = { 350, 8, 25, 3},
[8] = { 400, 9, 179, 3},
[9] = { 450, 10, 952, 3},
[10] = { 500, 11, 291, 3},
[11] = { 550, 12, 302, 3},
[12] = { 550, 13, 302, 3},
[13] = { 600, 14, 54, 3},
[14] = { 650, 15, 743, 3},
[15] = { 700, 16, 954, 3},
[16] = { 800, 17, 955, 3},
[30] = { 50, 31, 93, 3},
[31] = { 100, 32, 6, 3},
[32] = { 150, 33, 5, 3},
[33] = { 200, 34, 7, 3},
[34] = { 250, 35, 94, 3},
[35] = { 300, 36, 59, 3},
[36] = { 350, 37, 8, 3},
[37] = { 400, 38, 178, 3},
[38] = { 450, 39, 95, 3},
[39] = { 500, 40, 334, 208},
[40] = { 550, 41, 292, 208},
[41] = { 550, 42, 379, 208},
[42] = { 600, 43, 504, 108},
[43] = { 650, 44, 745, 108},
[44] = { 700, 45, 994, 108},
[45] = { 800, 46, 995, 108},
[60] = { 50, 61, 175, 208},
[61] = { 100, 62, 171, 208},
[62] = { 150, 63, 174, 208},
[63] = { 200, 64, 169, 208},
[64] = { 250, 65, 300, 208},
[65] = { 300, 66, 194, 208},
[66] = { 350, 67, 301, 208},
[67] = { 400, 68, 170, 208},
[68] = { 450, 69, 172, 208},
[69] = { 500, 70, 296, 208},
[70] = { 550, 71, 296, 208},
[71] = { 550, 72, 294, 208},
[72] = { 600, 73, 501, 108},
[73] = { 650, 74, 502, 108},
[74] = { 700, 75, 978, 108},
[75] = { 800, 76, 979, 108},
[90] = { 50, 91, 60, 140},
[91] = { 100, 92, 78, 140},
[92] = { 150, 93, 80, 140},
[93] = { 200, 94, 83, 208},
[94] = { 250, 95, 82, 208},
[95] = { 300, 96, 521, 208},
[96] = { 350, 97, 190, 208},
[97] = { 400, 98, 191, 208},
[98] = { 450, 99, 192, 208},
[99] = { 500, 100, 193, 208},
[100] = { 550, 101, 496, 208},
[101] = { 550, 102, 497, 208},
[102] = { 600, 103, 986, 108},
[103] = { 650, 104, 987, 108},
[104] = { 700, 105, 988, 108},
[105] = { 800, 106, 989, 108},
[120] = { 50, 121, 67, 208},
[121] = { 100, 122, 72, 208},
[122] = { 150, 123, 52, 208},
[123] = { 200, 124, 62, 208},
[124] = { 250, 125, 189, 208},
[125] = { 300, 126, 61, 208},
[126] = { 350, 127, 188, 208},
[127] = { 400, 128, 305, 208},
[128] = { 450, 129, 306, 208},
[129] = { 500, 130, 58, 208},
[130] = { 550, 131, 187, 208},
[131] = { 550, 132, 187, 208},
[132] = { 600, 133, 507, 108},
[133] = { 650, 134, 508, 108},
[134] = { 700, 135, 970, 108},
[135] = { 800, 136, 971, 108},
[150] = { 50, 151, 102, 208},
[151] = { 100, 152, 103, 208},
[152] = { 150, 153, 104, 208},
[153] = { 200, 154, 105, 208},
[154] = { 250, 155, 107, 208},
[155] = { 300, 156, 108, 208},
[156] = { 350, 157, 36, 208},
[157] = { 400, 158, 65, 208},
[158] = { 450, 159, 65, 208},
[159] = { 500, 160, 77, 208},
[160] = { 550, 161, 77, 208},
[161] = { 550, 162, 488, 208},
[162] = { 600, 163, 488, 108},
[163] = { 650, 164, 489, 108},
[164] = { 700, 165, 962, 108},
[165] = { 800, 166, 963, 108},
[180] = { 50, 181, 50, 208},
[181] = { 100, 182, 69, 208},
[182] = { 150, 183, 70, 208},
[183] = { 200, 184, 84, 208},
[184] = { 250, 185, 196, 208},
[185] = { 300, 186, 197, 208},
[186] = { 350, 187, 198, 208},
[187] = { 400, 188, 199, 208},
[188] = { 450, 189, 200, 208},
[189] = { 500, 190, 199, 208},
[190] = { 550, 191, 303, 208},
[191] = { 550, 192, 200, 208},
[192] = { 600, 193, 493, 108},
[193] = { 650, 194, 495, 108},
[194] = { 700, 195, 1030, 108},
[195] = { 800, 196, 1031, 108},
[210] = { 50, 211, 424, 208},
[211] = { 100, 212, 425, 208},
[212] = { 150, 213, 425, 208},
[213] = { 200, 214, 427, 208},
[214] = { 250, 215, 426, 208},
[215] = { 300, 216, 423, 208},
[216] = { 350, 217, 428, 208},
[217] = { 400, 218, 429, 208},
[218] = { 450, 219, 430, 208},
[219] = { 500, 220, 431, 208},
[220] = { 550, 221, 428, 208},
[221] = { 550, 222, 512, 208},
[222] = { 600, 223, 513, 108},
[223] = { 650, 224, 514, 108},
[224] = { 700, 225, 1020, 108},
[225] = { 800, 226, 1021, 108},
[240] = { 50, 241, 318, 208},
[241] = { 100, 242, 333, 208},
[242] = { 150, 243, 319, 208},
[243] = { 200, 244, 370, 208},
[244] = { 250, 245, 377, 208},
[245] = { 300, 246, 370, 208},
[246] = { 350, 247, 378, 208},
[247] = { 400, 248, 346, 208},
[248] = { 450, 249, 346, 208},
[249] = { 500, 250, 356, 208},
[250] = { 550, 251, 356, 208},
[251] = { 550, 252, 381, 208},
[252] = { 600, 253, 509, 108},
[253] = { 650, 254, 510, 108},
[254] = { 700, 255, 1016, 108},
[255] = { 800, 256, 1017, 108},
[270] = { 50, 271, 9, 208},
[271] = { 100, 272, 11, 208},
[272] = { 150, 273, 12, 208},
[273] = { 200, 274, 289, 208},
[274] = { 250, 275, 10, 208},
[275] = { 300, 276, 13, 208},
[276] = { 350, 277, 289, 208},
[277] = { 400, 278, 288, 208},
[278] = { 450, 279, 304, 208},
[279] = { 500, 280, 288, 208},
[280] = { 550, 281, 287, 208},
[281] = { 550, 282, 299, 208},
[282] = { 600, 283, 491, 108},
[283] = { 650, 284, 492, 108},
[284] = { 700, 285, 990, 108},
[285] = { 800, 286, 991, 108},
[300] = { 50, 301, 729, 208},
[301] = { 100, 302, 732, 208},
[302] = { 150, 303, 733, 208},
[303] = { 200, 304, 734, 208},
[304] = { 250, 305, 735, 208},
[305] = { 300, 306, 736, 208},
[306] = { 350, 307, 737, 208},
[307] = { 400, 308, 738, 208},
[308] = { 450, 309, 717, 208},
[309] = { 500, 310, 739, 208},
[310] = { 550, 311, 740, 208},
[311] = { 550, 312, 741, 208},
[312] = { 600, 313, 350, 108},
[313] = { 650, 314, 742, 108},
[314] = { 700, 315, 960, 108},
[315] = { 800, 316, 961, 108},
[330] = { 50, 331, 97, 208},
[331] = { 100, 332, 284, 208},
[332] = { 150, 333, 98, 208},
[333] = { 200, 334, 99, 208},
[334] = { 250, 335, 282, 208},
[335] = { 300, 336, 283, 208},
[336] = { 350, 337, 100, 208},
[337] = { 400, 338, 297, 208},
[338] = { 450, 339, 285, 208},
[339] = { 500, 340, 298, 208},
[340] = { 550, 341, 472, 208},
[341] = { 550, 342, 511, 208},
[342] = { 600, 343, 490, 108},
[343] = { 650, 344, 322, 108},
[344] = { 700, 345, 1008, 108},
[345] = { 800, 346, 1009, 108},
[360] = { 50, 361, 688, 208},
[361] = { 100, 362, 689, 208},
[362] = { 150, 363, 690, 208},
[363] = { 200, 364, 551, 208},
[364] = { 250, 365, 552, 208},
[365] = { 300, 366, 553, 208},
[366] = { 350, 367, 554, 208},
[367] = { 400, 368, 555, 208},
[368] = { 450, 369, 556, 208},
[369] = { 500, 370, 406, 208},
[370] = { 550, 371, 774, 208},
[371] = { 550, 372, 692, 208},
[372] = { 600, 373, 557, 108},
[373] = { 650, 374, 558, 108},
[374] = { 700, 375, 1022, 108},
[375] = { 800, 376, 1023, 108},
[390] = { 50, 391, 529, 208},
[391] = { 100, 392, 530, 208},
[392] = { 150, 393, 531, 208},
[393] = { 200, 394, 538, 208},
[394] = { 250, 395, 539, 208},
[395] = { 300, 396, 540, 208},
[396] = { 350, 397, 541, 208},
[397] = { 400, 398, 547, 208},
[398] = { 450, 399, 550, 208},
[399] = { 500, 400, 566, 208},
[400] = { 550, 401, 567, 208},
[401] = { 550, 402, 568, 208},
[402] = { 600, 403, 569, 108},
[403] = { 650, 404, 570, 108},
[404] = { 700, 405, 1006, 108},
[405] = { 800, 406, 1007, 108},
[420] = { 50, 421, 560, 208},
[421] = { 100, 422, 561, 208},
[422] = { 150, 423, 562, 208},
[423] = { 200, 424, 563, 208},
[424] = { 250, 425, 564, 208},
[425] = { 300, 426, 565, 208},
[426] = { 350, 427, 596, 208},
[427] = { 400, 428, 597, 208},
[428] = { 450, 429, 598, 208},
[429] = { 500, 430, 599, 208},
[430] = { 550, 431, 707, 208},
[431] = { 550, 432, 708, 208},
[432] = { 600, 433, 709, 108},
[433] = { 650, 434, 710, 108},
[434] = { 700, 435, 998, 108},
[435] = { 800, 436, 999, 108},
[450] = { 50, 451, 801, 208},
[451] = { 100, 452, 802, 208},
[452] = { 150, 453, 803, 208},
[453] = { 200, 454, 804, 208},
[454] = { 250, 455, 805, 208},
[455] = { 300, 456, 806, 208},
[456] = { 350, 457, 807, 208},
[457] = { 400, 458, 808, 208},
[458] = { 450, 459, 809, 208},
[459] = { 500, 460, 810, 208},
[460] = { 550, 461, 811, 208},
[461] = { 550, 462, 812, 208},
[462] = { 600, 463, 813, 108},
[463] = { 650, 464, 814, 108},
[464] = { 700, 465, 996, 108},
[465] = { 800, 466, 997, 108},
[490] = { 50, 491, 19, 208},
[491] = { 100, 492, 133, 208},
[492] = { 150, 493, 213, 208},
[493] = { 200, 494, 340, 208},
[494] = { 250, 495, 344, 208},
[495] = { 300, 496, 374, 208},
[496] = { 350, 497, 354, 208},
[497] = { 400, 498, 360, 208},
[498] = { 450, 499, 361, 208},
[499] = { 500, 500, 573, 208},
[500] = { 550, 501, 576, 208},
[501] = { 550, 502, 577, 208},
[502] = { 600, 503, 574, 108},
[503] = { 650, 504, 575, 108},
[504] = { 700, 505, 1004, 108},
[505] = { 800, 506, 1005, 108},
[520] = { 50, 521, 587, 208},
[521] = { 100, 522, 586, 208},
[522] = { 150, 523, 588, 208},
[523] = { 200, 524, 589, 208},
[524] = { 250, 525, 590, 208},
[525] = { 300, 526, 591, 208},
[526] = { 350, 527, 222, 208},
[527] = { 400, 528, 222, 208},
[528] = { 450, 529, 592, 208},
[529] = { 500, 530, 592, 208},
[530] = { 550, 531, 593, 208},
[531] = { 550, 532, 594, 208},
[532] = { 600, 533, 595, 108},
[533] = { 650, 534, 595, 108},
[534] = { 700, 535, 978, 108},
[535] = { 800, 536, 977, 108},
[550] = { 50, 551, 751, 208},
[551] = { 100, 552, 752, 208},
[552] = { 150, 553, 786, 208},
[553] = { 200, 554, 753, 208},
[554] = { 250, 555, 754, 208},
[555] = { 300, 556, 755, 208},
[556] = { 350, 557, 756, 208},
[557] = { 400, 558, 757, 208},
[558] = { 450, 559, 758, 208},
[559] = { 500, 560, 759, 208},
[560] = { 550, 561, 760, 208},
[561] = { 550, 562, 761, 208},
[562] = { 600, 563, 831, 108},
[563] = { 650, 564, 832, 108},
[564] = { 700, 565, 972, 108},
[565] = { 800, 566, 973, 108},
[590] = { 50, 591, 478, 208},
[591] = { 100, 592, 476, 208},
[592] = { 150, 593, 477, 208},
[593] = { 200, 594, 479, 208},
[594] = { 250, 595, 480, 208},
[595] = { 300, 596, 481, 208},
[596] = { 350, 597, 482, 208},
[597] = { 400, 598, 483, 208},
[598] = { 450, 599, 484, 208},
[599] = { 500, 600, 485, 208},
[600] = { 550, 601, 726, 208},
[601] = { 550, 602, 486, 208},
[602] = { 600, 603, 722, 108},
[603] = { 650, 604, 715, 108},
[604] = { 700, 605, 1026, 108},
[605] = { 800, 606, 1027, 108},
[620] = { 50, 621, 399, 208},
[621] = { 100, 622, 400, 208},
[622] = { 150, 623, 401, 208},
[623] = { 200, 624, 402, 208},
[624] = { 250, 625, 403, 208},
[625] = { 300, 626, 404, 208},
[626] = { 350, 627, 405, 208},
[627] = { 400, 628, 413, 208},
[628] = { 450, 629, 452, 208},
[629] = { 500, 630, 460, 208},
[630] = { 550, 631, 461, 208},
[631] = { 550, 632, 524, 208},
[632] = { 600, 633, 525, 108},
[633] = { 650, 634, 526, 108},
[634] = { 700, 635, 1002, 108},
[635] = { 800, 636, 1003, 108},
[650] = { 50, 651, 854, 208},
[651] = { 100, 652, 855, 208},
[652] = { 150, 653, 856, 208},
[653] = { 200, 654, 857, 208},
[654] = { 250, 655, 861, 208},
[655] = { 300, 656, 858, 208},
[656] = { 350, 657, 866, 208},
[657] = { 400, 658, 859, 208},
[658] = { 450, 659, 860, 208},
[659] = { 500, 660, 867, 208},
[660] = { 550, 661, 865, 208},
[661] = { 550, 662, 864, 208},
[662] = { 600, 663, 863, 108},
[663] = { 650, 664, 862, 108},
[664] = { 700, 665, 968, 108},
[665] = { 800, 666, 969, 108},
[680] = { 50, 681, 1049, 208},
[681] = { 100, 682, 1050, 208},
[682] = { 150, 683, 1051, 208},
[683] = { 200, 684, 1052, 208},
[684] = { 250, 685, 1053, 208},
[685] = { 300, 686, 1054, 208},
[686] = { 350, 687, 1055, 208},
[687] = { 400, 688, 1056, 208},
[688] = { 450, 689, 1057, 208},
[689] = { 500, 690, 1058, 208},
[690] = { 550, 691, 1059, 208},
[691] = { 550, 692, 1060, 208},
[692] = { 600, 693, 1061, 108},
[693] = { 650, 694, 1062, 108},
[694] = { 700, 695, 1063, 108},
[695] = { 800, 696, 1064, 108},
[700] = { 50, 701, 635, 208},
[701] = { 100, 702, 649, 208},
[702] = { 150, 703, 649, 208},
[703] = { 200, 704, 648, 208},
[704] = { 250, 705, 788, 208},
[705] = { 300, 706, 789, 208},
[706] = { 350, 707, 790, 208},
[707] = { 400, 708, 791, 208},
[708] = { 450, 709, 792, 208},
[709] = { 500, 710, 793, 208},
[710] = { 550, 711, 793, 208},
[711] = { 550, 712, 794, 208},
[712] = { 600, 713, 794, 108},
[713] = { 650, 714, 795, 108},
[714] = { 700, 715, 1012, 108},
[715] = { 800, 716, 1013, 108},
[730] = { 50, 731, 816, 208},
[731] = { 100, 732, 817, 208},
[732] = { 150, 733, 819, 208},
[733] = { 200, 734, 820, 208},
[734] = { 250, 735, 818, 208},
[735] = { 300, 736, 821, 208},
[736] = { 350, 737, 823, 208},
[737] = { 400, 738, 822, 208},
[738] = { 450, 739, 824, 208},
[739] = { 500, 740, 825, 208},
[740] = { 550, 741, 826, 208},
[741] = { 550, 742, 827, 208},
[742] = { 600, 743, 828, 108},
[743] = { 650, 744, 829, 108},
[744] = { 700, 745, 974, 108},
[745] = { 800, 746, 975, 108},
[760] = { 50, 761, 606, 208},
[761] = { 100, 762, 608, 208},
[762] = { 150, 763, 609, 208},
[763] = { 200, 764, 613, 208},
[764] = { 250, 765, 614, 208},
[765] = { 300, 766, 634, 208},
[766] = { 350, 767, 642, 208},
[767] = { 400, 768, 643, 208},
[768] = { 450, 769, 652, 208},
[769] = { 500, 770, 693, 208},
[770] = { 550, 771, 694, 208},
[771] = { 550, 772, 695, 208},
[772] = { 600, 773, 712, 108},
[773] = { 650, 774, 764, 108},
[774] = { 700, 775, 1028, 108},
[775] = { 800, 776, 1029, 108},
[790] = { 50, 791, 308, 208},
[791] = { 100, 792, 309, 208},
[792] = { 150, 793, 309, 208},
[793] = { 200, 794, 310, 208},
[794] = { 250, 795, 311, 208},
[795] = { 300, 796, 312, 208},
[796] = { 350, 797, 310, 208},
[797] = { 400, 798, 313, 208},
[798] = { 450, 799, 314, 208},
[799] = { 500, 800, 315, 208},
[800] = { 550, 801, 315, 208},
[801] = { 550, 802, 316, 208},
[802] = { 600, 803, 517, 108},
[803] = { 650, 804, 518, 108},
[804] = { 700, 805, 980, 108},
[805] = { 800, 806, 981, 108},
[820] = { 50, 821, 620, 208},
[821] = { 100, 822, 621, 208},
[822] = { 150, 823, 622, 208},
[823] = { 200, 824, 600, 208},
[824] = { 250, 825, 603, 208},
[825] = { 300, 826, 602, 208},
[826] = { 350, 827, 623, 208},
[827] = { 400, 828, 624, 208},
[828] = { 450, 829, 548, 208},
[829] = { 500, 830, 549, 208},
[830] = { 550, 831, 662, 208},
[831] = { 550, 832, 625, 208},
[832] = { 600, 833, 666, 108},
[833] = { 650, 834, 663, 108},
[834] = { 700, 835, 982, 108},
[835] = { 800, 836, 983, 108},
[850] = { 50, 851, 578, 208},
[851] = { 100, 852, 579, 208},
[852] = { 150, 853, 579, 208},
[853] = { 200, 854, 580, 208},
[854] = { 250, 855, 581, 208},
[855] = { 300, 856, 581, 208},
[856] = { 350, 857, 582, 208},
[857] = { 400, 858, 582, 208},
[858] = { 450, 859, 583, 208},
[859] = { 500, 860, 583, 208},
[860] = { 550, 861, 584, 208},
[861] = { 550, 862, 585, 208},
[862] = { 600, 863, 585, 108},
[863] = { 650, 864, 675, 108},
[864] = { 700, 865, 992, 108},
[865] = { 800, 866, 993, 108},
[880] = { 50, 881, 453, 208},
[881] = { 100, 882, 454, 208},
[882] = { 150, 883, 454, 208},
[883] = { 200, 884, 455, 208},
[884] = { 250, 885, 455, 208},
[885] = { 300, 886, 456, 208},
[886] = { 350, 887, 455, 208},
[887] = { 400, 888, 470, 208},
[888] = { 450, 889, 470, 208},
[889] = { 500, 890, 457, 208},
[890] = { 550, 891, 458, 208},
[891] = { 550, 892, 449, 208},
[892] = { 600, 893, 498, 108},
[893] = { 650, 894, 499, 108},
[894] = { 700, 895, 1010, 108},
[895] = { 800, 896, 1011, 108},
[910] = { 50, 911, 416, 208},
[911] = { 100, 912, 421, 208},
[912] = { 150, 913, 422, 208},
[913] = { 200, 914, 417, 208},
[914] = { 250, 915, 439, 208},
[915] = { 300, 916, 419, 208},
[916] = { 350, 917, 523, 208},
[917] = { 400, 918, 419, 208},
[918] = { 450, 919, 362, 208},
[919] = { 500, 920, 958, 208},
[920] = { 550, 921, 957, 208},
[921] = { 550, 922, 959, 208},
[922] = { 600, 923, 515, 108},
[923] = { 650, 924, 516, 108},
[924] = { 700, 925, 966, 108},
[925] = { 800, 926, 967, 108},
[930] = { 50, 931, 464, 208},
[931] = { 100, 932, 463, 208},
[932] = { 150, 933, 463, 208},
[933] = { 200, 934, 465, 208},
[934] = { 250, 935, 465, 208},
[935] = { 300, 936, 462, 208},
[936] = { 350, 937, 465, 208},
[937] = { 400, 938, 466, 208},
[938] = { 450, 939, 467, 208},
[939] = { 500, 940, 468, 208},
[940] = { 550, 941, 468, 208},
[941] = { 550, 942, 468, 208},
[942] = { 600, 943, 519, 108},
[943] = { 650, 944, 519, 108},
[944] = { 700, 945, 1014, 108},
[945] = { 800, 946, 1015, 108},
[960] = { 50, 961, 631, 208},
[961] = { 100, 962, 632, 208},
[962] = { 150, 963, 632, 208},
[963] = { 200, 964, 616, 208},
[964] = { 250, 965, 617, 208},
[965] = { 300, 966, 627, 208},
[966] = { 350, 967, 633, 208},
[967] = { 400, 968, 533, 208},
[968] = { 450, 969, 629, 208},
[969] = { 500, 970, 532, 208},
[970] = { 550, 971, 534, 208},
[971] = { 550, 972, 667, 208},
[972] = { 600, 973, 670, 108},
[973] = { 650, 974, 669, 108},
[974] = { 700, 975, 964, 108},
[975] = { 800, 976, 965, 108},
[990] = { 50, 991, 775, 208},
[991] = { 100, 992, 776, 208},
[992] = { 150, 993, 777, 208},
[993] = { 200, 994, 780, 208},
[994] = { 250, 995, 671, 208},
[995] = { 300, 996, 782, 208},
[996] = { 350, 997, 672, 208},
[997] = { 400, 998, 785, 208},
[998] = { 450, 999, 778, 208},
[999] = { 500, 1000, 773, 208},
[1000] = { 550, 1001, 783, 208},
[1001] = { 550, 1002, 772, 208},
[1002] = { 600, 1003, 784, 108},
[1003] = { 650, 1004, 779, 108},
[1004] = { 700, 1005, 984, 108},
[1005] = { 800, 1006, 985, 108},
[1020] = { 50, 1021, 837, 208},
[1021] = { 100, 1022, 838, 208},
[1022] = { 150, 1023, 839, 208},
[1023] = { 200, 1024, 840, 208},
[1024] = { 250, 1025, 841, 208},
[1025] = { 300, 1026, 842, 208},
[1026] = { 350, 1027, 843, 208},
[1027] = { 400, 1028, 844, 208},
[1028] = { 450, 1029, 845, 208},
[1029] = { 500, 1030, 846, 208},
[1030] = { 550, 1031, 847, 208},
[1031] = { 550, 1032, 848, 208},
[1032] = { 600, 1033, 849, 108},
[1033] = { 650, 1034, 850, 108},
[1034] = { 700, 1035, 1024, 108},
[1035] = { 800, 1036, 1025, 108},
[1050] = { 50, 1051, 1100, 208},
[1051] = { 100, 1052, 1101, 208},
[1052] = { 150, 1053, 1102, 208},
[1053] = { 200, 1054, 1103, 208},
[1054] = { 250, 1055, 1104, 208},
[1055] = { 300, 1056, 1105, 208},
[1056] = { 350, 1057, 1106, 208},
[1057] = { 400, 1058, 1107, 208},
[1058] = { 450, 1059, 1108, 208},
[1059] = { 500, 1060, 1109, 208},
[1060] = { 550, 1061, 1110, 208},
[1061] = { 550, 1062, 1111, 208},
[1062] = { 600, 1063, 1114, 108},
[1063] = { 650, 1064, 1113, 108},
[1064] = { 700, 1065, 1116, 108},
[1065] = { 800, 1066, 1115, 108},
[1080] = { 50, 1081, 441, 208},
[1081] = { 100, 1082, 442, 208},
[1082] = { 150, 1083, 443, 208},
[1083] = { 200, 1084, 444, 208},
[1084] = { 250, 1085, 445, 208},
[1085] = { 300, 1086, 446, 208},
[1086] = { 350, 1087, 446, 208},
[1087] = { 400, 1088, 447, 208},
[1088] = { 450, 1089, 447, 208},
[1089] = { 500, 1090, 448, 208},
[1090] = { 550, 1091, 448, 208},
[1091] = { 550, 1092, 505, 208},
[1092] = { 600, 1093, 506, 108},
[1093] = { 650, 1094, 506, 108},
[1094] = { 700, 1095, 1018, 108},
[1095] = { 800, 1096, 1019, 108},
[1110] = { 50, 1111, 1128, 208},
[1111] = { 100, 1112, 1129, 208},
[1112] = { 150, 1113, 1130, 208},
[1113] = { 200, 1114, 1131, 208},
[1114] = { 250, 1115, 1132, 208},
[1115] = { 300, 1116, 1133, 208},
[1116] = { 350, 1117, 1134, 208},
[1117] = { 400, 1118, 1135, 208},
[1118] = { 450, 1119, 1136, 208},
[1119] = { 500, 1120, 1137, 208},
[1120] = { 550, 1121, 1138, 208},
[1121] = { 550, 1122, 1139, 208},
[1122] = { 600, 1123, 1140, 108},
[1123] = { 650, 1124, 1141, 108},
[1124] = { 700, 1125, 1142, 108},
[1125] = { 800, 1126, 1143, 108}
}
function onSay(cid, words, param, channel)
local from,to = {x=1001, y=705, z=7},{x=1031, y=737, z=7} -- começo e final do mapa
local from2,to2 = {x=1011, y=705, z=6},{x=1031, y=738, z=6} -- começo e final do mapa
local from3,to3 = {x=1012, y=706, z=5},{x=1032, y=739, z=5} -- começo e final do mapa
local from4,to4 = {x=985, y=598, z=7},{x=1044, y=652, z=7} -- começo e final do mapa
local from5,to5 = {x=986, y=615, z=6},{x=1039, y=647, z=7} -- começo e final do mapa
local from6,to6 = {x=990, y=616, z=5},{x=1040, y=647, z=5} -- começo e final do mapa
if isInRange(getCreaturePosition(cid), from, to) or isInRange(getCreaturePosition(cid), from2, to2) or isInRange(getCreaturePosition(cid), from3, to3) or isInRange(getCreaturePosition(cid), from4, to4) or isInRange(getCreaturePosition(cid), from5, to5) or isInRange(getCreaturePosition(cid), from6, to6) then
doPlayerSendCancel(cid, "Você não pode se Transformar nesta área!") return true
end
doPlayerSay(cid, "Transformar")
local voc = config[getPlayerVocation(cid)]
if voc then
if getPlayerLevel(cid) >= voc[1] then
doPlayerSetVocation(cid, voc[2])
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Você Transformou!")
local outfit = {lookType = voc[3]}
doCreatureChangeOutfit(cid, outfit)
doSendMagicEffect(getCreaturePosition(cid), voc[4])
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Você precisa estar no level " .. voc[1] .. " para transformar.")
end
else
doPlayerSendCancel(cid, "Você não pode se Transformar!")
end
return true
end


@up

Link para o post
Compartilhar em outros sites
local pos1 = {x=getThingPosition(getCreatureTarget(cid)).x, y=getThingPosition(getCreatureTarget(cid)).y, z=getThingPosition(getCreatureTarget(cid)).z}
local config = {
--[vocation id] = { level, nova voc, looktype, efeito}
[1] = { 50, 2, 66, 3},                                    
[2] = { 100, 3, 91, 3},
[3] = { 150, 4, 18, 3},
[4] = { 200, 5, 31, 3},
[5] = { 250, 6, 92, 3},
[6] = { 300, 7, 40, 3},
[7] = { 350, 8, 25, 3},
[8] = { 400, 9, 179, 3},
[9] = { 450, 10, 952, 3},
[10] = { 500, 11, 291, 3},
[11] = { 550, 12, 302, 3},
[12] = { 550, 13, 302, 3},
[13] = { 600, 14, 54, 3},
[14] = { 650, 15, 743, 3},
[15] = { 700, 16, 954, 3},
[16] = { 800, 17, 955, 3},
[30] = { 50, 31, 93, 3},
[31] = { 100, 32, 6, 3},
[32] = { 150, 33, 5, 3},
[33] = { 200, 34, 7, 3},
[34] = { 250, 35, 94, 3},
[35] = { 300, 36, 59, 3},
[36] = { 350, 37, 8, 3},
[37] = { 400, 38, 178, 3},
[38] = { 450, 39, 95, 3},
[39] = { 500, 40, 334, 208},
[40] = { 550, 41, 292, 208},
[41] = { 550, 42, 379, 208},
[42] = { 600, 43, 504, 108},
[43] = { 650, 44, 745, 108},
[44] = { 700, 45, 994, 108},
[45] = { 800, 46, 995, 108},
[60] = { 50, 61, 175, 208},
[61] = { 100, 62, 171, 208},
[62] = { 150, 63, 174, 208},
[63] = { 200, 64, 169, 208},
[64] = { 250, 65, 300, 208},
[65] = { 300, 66, 194, 208},
[66] = { 350, 67, 301, 208},
[67] = { 400, 68, 170, 208},
[68] = { 450, 69, 172, 208},
[69] = { 500, 70, 296, 208},
[70] = { 550, 71, 296, 208},
[71] = { 550, 72, 294, 208},
[72] = { 600, 73, 501, 108},
[73] = { 650, 74, 502, 108},
[74] = { 700, 75, 978, 108},
[75] = { 800, 76, 979, 108},
[90] = { 50, 91, 60, 140},
[91] = { 100, 92, 78, 140},
[92] = { 150, 93, 80, 140},
[93] = { 200, 94, 83, 208},
[94] = { 250, 95, 82, 208},
[95] = { 300, 96, 521, 208},
[96] = { 350, 97, 190, 208},
[97] = { 400, 98, 191, 208},
[98] = { 450, 99, 192, 208},
[99] = { 500, 100, 193, 208},
[100] = { 550, 101, 496, 208},
[101] = { 550, 102, 497, 208},
[102] = { 600, 103, 986, 108},
[103] = { 650, 104, 987, 108},
[104] = { 700, 105, 988, 108},
[105] = { 800, 106, 989, 108},
[120] = { 50, 121, 67, 208},
[121] = { 100, 122, 72, 208},
[122] = { 150, 123, 52, 208},
[123] = { 200, 124, 62, 208},
[124] = { 250, 125, 189, 208},
[125] = { 300, 126, 61, 208},
[126] = { 350, 127, 188, 208},
[127] = { 400, 128, 305, 208},
[128] = { 450, 129, 306, 208},
[129] = { 500, 130, 58, 208},
[130] = { 550, 131, 187, 208},
[131] = { 550, 132, 187, 208},
[132] = { 600, 133, 507, 108},
[133] = { 650, 134, 508, 108},
[134] = { 700, 135, 970, 108},
[135] = { 800, 136, 971, 108},
[150] = { 50, 151, 102, 208},
[151] = { 100, 152, 103, 208},
[152] = { 150, 153, 104, 208},
[153] = { 200, 154, 105, 208},
[154] = { 250, 155, 107, 208},
[155] = { 300, 156, 108, 208},
[156] = { 350, 157, 36, 208},
[157] = { 400, 158, 65, 208},
[158] = { 450, 159, 65, 208},
[159] = { 500, 160, 77, 208},
[160] = { 550, 161, 77, 208},
[161] = { 550, 162, 488, 208},
[162] = { 600, 163, 488, 108},
[163] = { 650, 164, 489, 108},
[164] = { 700, 165, 962, 108},
[165] = { 800, 166, 963, 108},
[180] = { 50, 181, 50, 208},
[181] = { 100, 182, 69, 208},
[182] = { 150, 183, 70, 208},
[183] = { 200, 184, 84, 208},
[184] = { 250, 185, 196, 208},
[185] = { 300, 186, 197, 208},
[186] = { 350, 187, 198, 208},
[187] = { 400, 188, 199, 208},
[188] = { 450, 189, 200, 208},
[189] = { 500, 190, 199, 208},
[190] = { 550, 191, 303, 208},
[191] = { 550, 192, 200, 208},
[192] = { 600, 193, 493, 108},
[193] = { 650, 194, 495, 108},
[194] = { 700, 195, 1030, 108},
[195] = { 800, 196, 1031, 108},
[210] = { 50, 211, 424, 208},
[211] = { 100, 212, 425, 208},
[212] = { 150, 213, 425, 208},
[213] = { 200, 214, 427, 208},
[214] = { 250, 215, 426, 208},
[215] = { 300, 216, 423, 208},
[216] = { 350, 217, 428, 208},
[217] = { 400, 218, 429, 208},
[218] = { 450, 219, 430, 208},
[219] = { 500, 220, 431, 208},
[220] = { 550, 221, 428, 208},
[221] = { 550, 222, 512, 208},
[222] = { 600, 223, 513, 108},
[223] = { 650, 224, 514, 108},
[224] = { 700, 225, 1020, 108},
[225] = { 800, 226, 1021, 108},
[240] = { 50, 241, 318, 208},
[241] = { 100, 242, 333, 208},
[242] = { 150, 243, 319, 208},
[243] = { 200, 244, 370, 208},
[244] = { 250, 245, 377, 208},
[245] = { 300, 246, 370, 208},
[246] = { 350, 247, 378, 208},
[247] = { 400, 248, 346, 208},
[248] = { 450, 249, 346, 208},
[249] = { 500, 250, 356, 208},
[250] = { 550, 251, 356, 208},
[251] = { 550, 252, 381, 208},
[252] = { 600, 253, 509, 108},
[253] = { 650, 254, 510, 108},
[254] = { 700, 255, 1016, 108},
[255] = { 800, 256, 1017, 108},
[270] = { 50, 271, 9, 208},
[271] = { 100, 272, 11, 208},
[272] = { 150, 273, 12, 208},
[273] = { 200, 274, 289, 208},
[274] = { 250, 275, 10, 208},
[275] = { 300, 276, 13, 208},
[276] = { 350, 277, 289, 208},
[277] = { 400, 278, 288, 208},
[278] = { 450, 279, 304, 208},
[279] = { 500, 280, 288, 208},
[280] = { 550, 281, 287, 208},
[281] = { 550, 282, 299, 208},
[282] = { 600, 283, 491, 108},
[283] = { 650, 284, 492, 108},
[284] = { 700, 285, 990, 108},
[285] = { 800, 286, 991, 108},
[300] = { 50, 301, 729, 208},
[301] = { 100, 302, 732, 208},
[302] = { 150, 303, 733, 208},
[303] = { 200, 304, 734, 208},
[304] = { 250, 305, 735, 208},
[305] = { 300, 306, 736, 208},
[306] = { 350, 307, 737, 208},
[307] = { 400, 308, 738, 208},
[308] = { 450, 309, 717, 208},
[309] = { 500, 310, 739, 208},
[310] = { 550, 311, 740, 208},
[311] = { 550, 312, 741, 208},
[312] = { 600, 313, 350, 108},
[313] = { 650, 314, 742, 108},
[314] = { 700, 315, 960, 108},
[315] = { 800, 316, 961, 108},
[330] = { 50, 331, 97, 208},
[331] = { 100, 332, 284, 208},
[332] = { 150, 333, 98, 208},
[333] = { 200, 334, 99, 208},
[334] = { 250, 335, 282, 208},
[335] = { 300, 336, 283, 208},
[336] = { 350, 337, 100, 208},
[337] = { 400, 338, 297, 208},
[338] = { 450, 339, 285, 208},
[339] = { 500, 340, 298, 208},
[340] = { 550, 341, 472, 208},
[341] = { 550, 342, 511, 208},
[342] = { 600, 343, 490, 108},
[343] = { 650, 344, 322, 108},
[344] = { 700, 345, 1008, 108},
[345] = { 800, 346, 1009, 108},
[360] = { 50, 361, 688, 208},
[361] = { 100, 362, 689, 208},
[362] = { 150, 363, 690, 208},
[363] = { 200, 364, 551, 208},
[364] = { 250, 365, 552, 208},
[365] = { 300, 366, 553, 208},
[366] = { 350, 367, 554, 208},
[367] = { 400, 368, 555, 208},
[368] = { 450, 369, 556, 208},
[369] = { 500, 370, 406, 208},
[370] = { 550, 371, 774, 208},
[371] = { 550, 372, 692, 208},
[372] = { 600, 373, 557, 108},
[373] = { 650, 374, 558, 108},
[374] = { 700, 375, 1022, 108},
[375] = { 800, 376, 1023, 108},
[390] = { 50, 391, 529, 208},
[391] = { 100, 392, 530, 208},
[392] = { 150, 393, 531, 208},
[393] = { 200, 394, 538, 208},
[394] = { 250, 395, 539, 208},
[395] = { 300, 396, 540, 208},
[396] = { 350, 397, 541, 208},
[397] = { 400, 398, 547, 208},
[398] = { 450, 399, 550, 208},
[399] = { 500, 400, 566, 208},
[400] = { 550, 401, 567, 208},
[401] = { 550, 402, 568, 208},
[402] = { 600, 403, 569, 108},
[403] = { 650, 404, 570, 108},
[404] = { 700, 405, 1006, 108},
[405] = { 800, 406, 1007, 108},
[420] = { 50, 421, 560, 208},
[421] = { 100, 422, 561, 208},
[422] = { 150, 423, 562, 208},
[423] = { 200, 424, 563, 208},
[424] = { 250, 425, 564, 208},
[425] = { 300, 426, 565, 208},
[426] = { 350, 427, 596, 208},
[427] = { 400, 428, 597, 208},
[428] = { 450, 429, 598, 208},
[429] = { 500, 430, 599, 208},
[430] = { 550, 431, 707, 208},
[431] = { 550, 432, 708, 208},
[432] = { 600, 433, 709, 108},
[433] = { 650, 434, 710, 108},
[434] = { 700, 435, 998, 108},
[435] = { 800, 436, 999, 108},
[450] = { 50, 451, 801, 208},
[451] = { 100, 452, 802, 208},
[452] = { 150, 453, 803, 208},
[453] = { 200, 454, 804, 208},
[454] = { 250, 455, 805, 208},
[455] = { 300, 456, 806, 208},
[456] = { 350, 457, 807, 208},
[457] = { 400, 458, 808, 208},
[458] = { 450, 459, 809, 208},
[459] = { 500, 460, 810, 208},
[460] = { 550, 461, 811, 208},
[461] = { 550, 462, 812, 208},
[462] = { 600, 463, 813, 108},
[463] = { 650, 464, 814, 108},
[464] = { 700, 465, 996, 108},
[465] = { 800, 466, 997, 108},
[490] = { 50, 491, 19, 208},
[491] = { 100, 492, 133, 208},
[492] = { 150, 493, 213, 208},
[493] = { 200, 494, 340, 208},
[494] = { 250, 495, 344, 208},
[495] = { 300, 496, 374, 208},
[496] = { 350, 497, 354, 208},
[497] = { 400, 498, 360, 208},
[498] = { 450, 499, 361, 208},
[499] = { 500, 500, 573, 208},
[500] = { 550, 501, 576, 208},
[501] = { 550, 502, 577, 208},
[502] = { 600, 503, 574, 108},
[503] = { 650, 504, 575, 108},
[504] = { 700, 505, 1004, 108},
[505] = { 800, 506, 1005, 108},
[520] = { 50, 521, 587, 208},
[521] = { 100, 522, 586, 208},
[522] = { 150, 523, 588, 208},
[523] = { 200, 524, 589, 208},
[524] = { 250, 525, 590, 208},
[525] = { 300, 526, 591, 208},
[526] = { 350, 527, 222, 208},
[527] = { 400, 528, 222, 208},
[528] = { 450, 529, 592, 208},
[529] = { 500, 530, 592, 208},
[530] = { 550, 531, 593, 208},
[531] = { 550, 532, 594, 208},
[532] = { 600, 533, 595, 108},
[533] = { 650, 534, 595, 108},
[534] = { 700, 535, 978, 108},
[535] = { 800, 536, 977, 108},
[550] = { 50, 551, 751, 208},
[551] = { 100, 552, 752, 208},
[552] = { 150, 553, 786, 208},
[553] = { 200, 554, 753, 208},
[554] = { 250, 555, 754, 208},
[555] = { 300, 556, 755, 208},
[556] = { 350, 557, 756, 208},
[557] = { 400, 558, 757, 208},
[558] = { 450, 559, 758, 208},
[559] = { 500, 560, 759, 208},
[560] = { 550, 561, 760, 208},
[561] = { 550, 562, 761, 208},
[562] = { 600, 563, 831, 108},
[563] = { 650, 564, 832, 108},
[564] = { 700, 565, 972, 108},
[565] = { 800, 566, 973, 108},
[590] = { 50, 591, 478, 208},
[591] = { 100, 592, 476, 208},
[592] = { 150, 593, 477, 208},
[593] = { 200, 594, 479, 208},
[594] = { 250, 595, 480, 208},
[595] = { 300, 596, 481, 208},
[596] = { 350, 597, 482, 208},
[597] = { 400, 598, 483, 208},
[598] = { 450, 599, 484, 208},
[599] = { 500, 600, 485, 208},
[600] = { 550, 601, 726, 208},
[601] = { 550, 602, 486, 208},
[602] = { 600, 603, 722, 108},
[603] = { 650, 604, 715, 108},
[604] = { 700, 605, 1026, 108},
[605] = { 800, 606, 1027, 108},
[620] = { 50, 621, 399, 208},
[621] = { 100, 622, 400, 208},
[622] = { 150, 623, 401, 208},
[623] = { 200, 624, 402, 208},
[624] = { 250, 625, 403, 208},
[625] = { 300, 626, 404, 208},
[626] = { 350, 627, 405, 208},
[627] = { 400, 628, 413, 208},
[628] = { 450, 629, 452, 208},
[629] = { 500, 630, 460, 208},
[630] = { 550, 631, 461, 208},
[631] = { 550, 632, 524, 208},
[632] = { 600, 633, 525, 108},
[633] = { 650, 634, 526, 108},
[634] = { 700, 635, 1002, 108},
[635] = { 800, 636, 1003, 108},
[650] = { 50, 651, 854, 208},
[651] = { 100, 652, 855, 208},
[652] = { 150, 653, 856, 208},
[653] = { 200, 654, 857, 208},
[654] = { 250, 655, 861, 208},
[655] = { 300, 656, 858, 208},
[656] = { 350, 657, 866, 208},
[657] = { 400, 658, 859, 208},
[658] = { 450, 659, 860, 208},
[659] = { 500, 660, 867, 208},
[660] = { 550, 661, 865, 208},
[661] = { 550, 662, 864, 208},
[662] = { 600, 663, 863, 108},
[663] = { 650, 664, 862, 108},
[664] = { 700, 665, 968, 108},
[665] = { 800, 666, 969, 108},
[680] = { 50, 681, 1049, 208},
[681] = { 100, 682, 1050, 208},
[682] = { 150, 683, 1051, 208},
[683] = { 200, 684, 1052, 208},
[684] = { 250, 685, 1053, 208},
[685] = { 300, 686, 1054, 208},
[686] = { 350, 687, 1055, 208},
[687] = { 400, 688, 1056, 208},
[688] = { 450, 689, 1057, 208},
[689] = { 500, 690, 1058, 208},
[690] = { 550, 691, 1059, 208},
[691] = { 550, 692, 1060, 208},
[692] = { 600, 693, 1061, 108},
[693] = { 650, 694, 1062, 108},
[694] = { 700, 695, 1063, 108},
[695] = { 800, 696, 1064, 108},
[700] = { 50, 701, 635, 208},
[701] = { 100, 702, 649, 208},
[702] = { 150, 703, 649, 208},
[703] = { 200, 704, 648, 208},
[704] = { 250, 705, 788, 208},
[705] = { 300, 706, 789, 208},
[706] = { 350, 707, 790, 208},
[707] = { 400, 708, 791, 208},
[708] = { 450, 709, 792, 208},
[709] = { 500, 710, 793, 208},
[710] = { 550, 711, 793, 208},
[711] = { 550, 712, 794, 208},
[712] = { 600, 713, 794, 108},
[713] = { 650, 714, 795, 108},
[714] = { 700, 715, 1012, 108},
[715] = { 800, 716, 1013, 108},
[730] = { 50, 731, 816, 208},
[731] = { 100, 732, 817, 208},
[732] = { 150, 733, 819, 208},
[733] = { 200, 734, 820, 208},
[734] = { 250, 735, 818, 208},
[735] = { 300, 736, 821, 208},
[736] = { 350, 737, 823, 208},
[737] = { 400, 738, 822, 208},
[738] = { 450, 739, 824, 208},
[739] = { 500, 740, 825, 208},
[740] = { 550, 741, 826, 208},
[741] = { 550, 742, 827, 208},
[742] = { 600, 743, 828, 108},
[743] = { 650, 744, 829, 108},
[744] = { 700, 745, 974, 108},
[745] = { 800, 746, 975, 108},
[760] = { 50, 761, 606, 208},
[761] = { 100, 762, 608, 208},
[762] = { 150, 763, 609, 208},
[763] = { 200, 764, 613, 208},
[764] = { 250, 765, 614, 208},
[765] = { 300, 766, 634, 208},
[766] = { 350, 767, 642, 208},
[767] = { 400, 768, 643, 208},
[768] = { 450, 769, 652, 208},
[769] = { 500, 770, 693, 208},
[770] = { 550, 771, 694, 208},
[771] = { 550, 772, 695, 208},
[772] = { 600, 773, 712, 108},
[773] = { 650, 774, 764, 108},
[774] = { 700, 775, 1028, 108},
[775] = { 800, 776, 1029, 108},
[790] = { 50, 791, 308, 208},
[791] = { 100, 792, 309, 208},
[792] = { 150, 793, 309, 208},
[793] = { 200, 794, 310, 208},
[794] = { 250, 795, 311, 208},
[795] = { 300, 796, 312, 208},
[796] = { 350, 797, 310, 208},
[797] = { 400, 798, 313, 208},
[798] = { 450, 799, 314, 208},
[799] = { 500, 800, 315, 208},
[800] = { 550, 801, 315, 208},
[801] = { 550, 802, 316, 208},
[802] = { 600, 803, 517, 108},
[803] = { 650, 804, 518, 108},
[804] = { 700, 805, 980, 108},
[805] = { 800, 806, 981, 108},
[820] = { 50, 821, 620, 208},
[821] = { 100, 822, 621, 208},
[822] = { 150, 823, 622, 208},
[823] = { 200, 824, 600, 208},
[824] = { 250, 825, 603, 208},
[825] = { 300, 826, 602, 208},
[826] = { 350, 827, 623, 208},
[827] = { 400, 828, 624, 208},
[828] = { 450, 829, 548, 208},
[829] = { 500, 830, 549, 208},
[830] = { 550, 831, 662, 208},
[831] = { 550, 832, 625, 208},
[832] = { 600, 833, 666, 108},
[833] = { 650, 834, 663, 108},
[834] = { 700, 835, 982, 108},
[835] = { 800, 836, 983, 108},
[850] = { 50, 851, 578, 208},
[851] = { 100, 852, 579, 208},
[852] = { 150, 853, 579, 208},
[853] = { 200, 854, 580, 208},
[854] = { 250, 855, 581, 208},
[855] = { 300, 856, 581, 208},
[856] = { 350, 857, 582, 208},
[857] = { 400, 858, 582, 208},
[858] = { 450, 859, 583, 208},
[859] = { 500, 860, 583, 208},
[860] = { 550, 861, 584, 208},
[861] = { 550, 862, 585, 208},
[862] = { 600, 863, 585, 108},
[863] = { 650, 864, 675, 108},
[864] = { 700, 865, 992, 108},
[865] = { 800, 866, 993, 108},
[880] = { 50, 881, 453, 208},
[881] = { 100, 882, 454, 208},
[882] = { 150, 883, 454, 208},
[883] = { 200, 884, 455, 208},
[884] = { 250, 885, 455, 208},
[885] = { 300, 886, 456, 208},
[886] = { 350, 887, 455, 208},
[887] = { 400, 888, 470, 208},
[888] = { 450, 889, 470, 208},
[889] = { 500, 890, 457, 208},
[890] = { 550, 891, 458, 208},
[891] = { 550, 892, 449, 208},
[892] = { 600, 893, 498, 108},
[893] = { 650, 894, 499, 108},
[894] = { 700, 895, 1010, 108},
[895] = { 800, 896, 1011, 108},
[910] = { 50, 911, 416, 208},
[911] = { 100, 912, 421, 208},
[912] = { 150, 913, 422, 208},
[913] = { 200, 914, 417, 208},
[914] = { 250, 915, 439, 208},
[915] = { 300, 916, 419, 208},
[916] = { 350, 917, 523, 208},
[917] = { 400, 918, 419, 208},
[918] = { 450, 919, 362, 208},
[919] = { 500, 920, 958, 208},
[920] = { 550, 921, 957, 208},
[921] = { 550, 922, 959, 208},
[922] = { 600, 923, 515, 108},
[923] = { 650, 924, 516, 108},
[924] = { 700, 925, 966, 108},
[925] = { 800, 926, 967, 108},
[930] = { 50, 931, 464, 208},
[931] = { 100, 932, 463, 208},
[932] = { 150, 933, 463, 208},
[933] = { 200, 934, 465, 208},
[934] = { 250, 935, 465, 208},
[935] = { 300, 936, 462, 208},
[936] = { 350, 937, 465, 208},
[937] = { 400, 938, 466, 208},
[938] = { 450, 939, 467, 208},
[939] = { 500, 940, 468, 208},
[940] = { 550, 941, 468, 208},
[941] = { 550, 942, 468, 208},
[942] = { 600, 943, 519, 108},
[943] = { 650, 944, 519, 108},
[944] = { 700, 945, 1014, 108},
[945] = { 800, 946, 1015, 108},
[960] = { 50, 961, 631, 208},
[961] = { 100, 962, 632, 208},
[962] = { 150, 963, 632, 208},
[963] = { 200, 964, 616, 208},
[964] = { 250, 965, 617, 208},
[965] = { 300, 966, 627, 208},
[966] = { 350, 967, 633, 208},
[967] = { 400, 968, 533, 208},
[968] = { 450, 969, 629, 208},
[969] = { 500, 970, 532, 208},
[970] = { 550, 971, 534, 208},
[971] = { 550, 972, 667, 208},
[972] = { 600, 973, 670, 108},
[973] = { 650, 974, 669, 108},
[974] = { 700, 975, 964, 108},
[975] = { 800, 976, 965, 108},
[990] = { 50, 991, 775, 208},
[991] = { 100, 992, 776, 208},
[992] = { 150, 993, 777, 208},
[993] = { 200, 994, 780, 208},
[994] = { 250, 995, 671, 208},
[995] = { 300, 996, 782, 208},
[996] = { 350, 997, 672, 208},
[997] = { 400, 998, 785, 208},
[998] = { 450, 999, 778, 208},
[999] = { 500, 1000, 773, 208},
[1000] = { 550, 1001, 783, 208},
[1001] = { 550, 1002, 772, 208},
[1002] = { 600, 1003, 784, 108},
[1003] = { 650, 1004, 779, 108},
[1004] = { 700, 1005, 984, 108},
[1005] = { 800, 1006, 985, 108},
[1020] = { 50, 1021, 837, 208},
[1021] = { 100, 1022, 838, 208},
[1022] = { 150, 1023, 839, 208},
[1023] = { 200, 1024, 840, 208},
[1024] = { 250, 1025, 841, 208},
[1025] = { 300, 1026, 842, 208},
[1026] = { 350, 1027, 843, 208},
[1027] = { 400, 1028, 844, 208},
[1028] = { 450, 1029, 845, 208},
[1029] = { 500, 1030, 846, 208},
[1030] = { 550, 1031, 847, 208},
[1031] = { 550, 1032, 848, 208},
[1032] = { 600, 1033, 849, 108},
[1033] = { 650, 1034, 850, 108},
[1034] = { 700, 1035, 1024, 108},
[1035] = { 800, 1036, 1025, 108},
[1050] = { 50, 1051, 1100, 208},
[1051] = { 100, 1052, 1101, 208},
[1052] = { 150, 1053, 1102, 208},
[1053] = { 200, 1054, 1103, 208},
[1054] = { 250, 1055, 1104, 208},
[1055] = { 300, 1056, 1105, 208},
[1056] = { 350, 1057, 1106, 208},
[1057] = { 400, 1058, 1107, 208},
[1058] = { 450, 1059, 1108, 208},
[1059] = { 500, 1060, 1109, 208},
[1060] = { 550, 1061, 1110, 208},
[1061] = { 550, 1062, 1111, 208},
[1062] = { 600, 1063, 1114, 108},
[1063] = { 650, 1064, 1113, 108},
[1064] = { 700, 1065, 1116, 108},
[1065] = { 800, 1066, 1115, 108},
[1080] = { 50, 1081, 441, 208},
[1081] = { 100, 1082, 442, 208},
[1082] = { 150, 1083, 443, 208},
[1083] = { 200, 1084, 444, 208},
[1084] = { 250, 1085, 445, 208},
[1085] = { 300, 1086, 446, 208},
[1086] = { 350, 1087, 446, 208},
[1087] = { 400, 1088, 447, 208},
[1088] = { 450, 1089, 447, 208},
[1089] = { 500, 1090, 448, 208},
[1090] = { 550, 1091, 448, 208},
[1091] = { 550, 1092, 505, 208},
[1092] = { 600, 1093, 506, 108},
[1093] = { 650, 1094, 506, 108},
[1094] = { 700, 1095, 1018, 108},
[1095] = { 800, 1096, 1019, 108},
[1110] = { 50, 1111, 1128, 208},
[1111] = { 100, 1112, 1129, 208},
[1112] = { 150, 1113, 1130, 208},
[1113] = { 200, 1114, 1131, 208},
[1114] = { 250, 1115, 1132, 208},
[1115] = { 300, 1116, 1133, 208},
[1116] = { 350, 1117, 1134, 208},
[1117] = { 400, 1118, 1135, 208},
[1118] = { 450, 1119, 1136, 208},
[1119] = { 500, 1120, 1137, 208},
[1120] = { 550, 1121, 1138, 208},
[1121] = { 550, 1122, 1139, 208},
[1122] = { 600, 1123, 1140, 108},
[1123] = { 650, 1124, 1141, 108},
[1124] = { 700, 1125, 1142, 108},
[1125] = { 800, 1126, 1143, 108}
}
function onSay(cid, words, param, channel)
local from,to = {x=1001, y=705, z=7},{x=1031, y=737, z=7} -- começo e final do mapa
local from2,to2 = {x=1011, y=705, z=6},{x=1031, y=738, z=6} -- começo e final do mapa
local from3,to3 = {x=1012, y=706, z=5},{x=1032, y=739, z=5} -- começo e final do mapa
local from4,to4 = {x=985, y=598, z=7},{x=1044, y=652, z=7} -- começo e final do mapa
local from5,to5 = {x=986, y=615, z=6},{x=1039, y=647, z=7} -- começo e final do mapa
local from6,to6 = {x=990, y=616, z=5},{x=1040, y=647, z=5} -- começo e final do mapa
if isInRange(getCreaturePosition(cid), from, to) or isInRange(getCreaturePosition(cid), from2, to2) or isInRange(getCreaturePosition(cid), from3, to3) or isInRange(getCreaturePosition(cid), from4, to4) or isInRange(getCreaturePosition(cid), from5, to5) or isInRange(getCreaturePosition(cid), from6, to6) then
doPlayerSendCancel(cid, "Você não pode se Transformar nesta área!") return true
end
doPlayerSay(cid, "Transformar")
local voc = config[getPlayerVocation(cid)]
if voc then
if getPlayerLevel(cid) >= voc[1] then
doPlayerSetVocation(cid, voc[2])
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Você Transformou!")
local outfit = {lookType = voc[3]}
doCreatureChangeOutfit(cid, outfit)
doSendMagicEffect(pos1, voc[4])
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Você precisa estar no level " .. voc[1] .. " para transformar.")
end
else
doPlayerSendCancel(cid, "Você não pode se Transformar!")
end
return true
end

testa ai manin se nao der depois eu arrumo!

Conteúdos Tragos Por Mim ao Fórum:

Venda de Vocações [Modern Aac] •

• Comando !Saga 

• [Modern Aac] DragonBall 

• Esconder •

• Naruto 2018

• • •

• •

'NtoProject - Breve'

[Show OFF] Disponível

Link para o post
Compartilhar em outros sites

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.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

  • Conteúdo Similar

    • Por LeoTK
      Salve galera neste tópico irei postar algumas prints do mapa do servidor para quem queira acompanhar e quem sabe até utilizar de inspiração para mapear o seu NTO.
       
      #Att 11/08/2022

       
       
       
       
      Konoha (Em Desenvolvimento)
       
       
       
       
    • Por DiigooMix
      Como o título já diz, será que alguém possui sprite do hitto e se possível as transformações dele?
    • Por OmegaZero
      Olá gostaria que alguém me ajudasse com uma "scripting" não sei se é pela mesma, seria o seguinte uma determinada arma teria a chance de dar double hit e não sei oque fazer alguem poderia ajudar?

      OBS:não sei se é o local correto se não for mova, desculpe
    • Por Madarasenju
      Olá galera do Tibia King, queria por uns npc's no meu server que não tem função de trade nem nada do tipo, queria que eles só andassem como enfeite, Rep+ Pra quem me ajudar... grato desde já.
    • Por SilenceRoot
      A magia é assim o você usa a a magia e ela ficará ativado por 10 segundos, até que o inimigo lance a primeira magia ou todos de uma vez, quando ele lançar a primeira magia, ele não lhe acertará ou seja esquivando dela, e logo em seguida será teletransportado aleatoriamente ao redor do inimigo que usou.
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo