Postado Maio 9, 2019 6 anos Help me, alguem me da um suporte queria que esse script não deixar os players que tem esses storages virar akatsuki. 159004, 159005,159006, 159007 Dai aparecia msg, você não pode entrar nessa academia você ja faz parte de uma, porque esses storages são de outros sistemas. Se puderem REP+ TMJ Script Mostrar conteúdo oculto -- Script Akatsuki System Advance 2.0 --4 -- By Ruam -- -- Script Criada By Ruam -- local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end local level = 300 -- Level preciso pra entra para akatsuki local itemid = 5944 -- id do coração local quantidade = 30 -- quantos hearts e preciso local bonushp = 50 -- quanto de bonus de life vai ganha local bonusmp = 50 -- quanto de bonus de mana vai ganha local experience = 3.5 -- Experience rates no caso 2x a experiencia do seu servidor. local config = { --[Vocation] = ( Nova Vocation, New Outfit ) ---------- NARUTO ----------- [1] = { 2, 877}, [2] = { 3, 877}, [3] = { 4, 877}, [4] = { 5, 877}, [5] = { 6, 877}, [6] = { 7, 877}, [7] = { 8, 877}, [8] = { 9, 877}, [9] = { 10, 877}, [10] = { 11, 877}, [11] = { 12, 877}, [12] = { 13, 877}, [13] = { 14, 877}, ---------- SASUKE ----------- [15] = { 16, 879}, [16] = { 17, 879}, [17] = { 18, 879}, [18] = { 19, 879}, [19] = { 20, 879}, [20] = { 21, 879}, [21] = { 22, 879}, [22] = { 23, 879}, [23] = { 24, 879}, [24] = { 25, 879}, [25] = { 26, 879}, [26] = { 27, 879}, [27] = { 28, 879}, [28] = { 29, 879}, ---------- SAKURA ----------- [30] = { 31, 1591}, [31] = { 32, 1591}, [32] = { 33, 1591}, [33] = { 34, 1591}, [34] = { 35, 1591}, [35] = { 36, 1591}, [36] = { 37, 1591}, [37] = { 38, 1591}, [38] = { 39, 1591}, [39] = { 40, 1591}, [40] = { 41, 1591}, [41] = { 42, 1591}, [42] = { 43, 1591}, [43] = { 44, 1591}, ---------- LEE ----------- [45] = { 46, 1496}, [46] = { 47, 1496}, [47] = { 48, 1496}, [48] = { 49, 1496}, [49] = { 50, 1496}, [50] = { 51, 1496}, [51] = { 52, 1496}, [52] = { 53, 1496}, [53] = { 54, 1496}, [54] = { 55, 1496}, [55] = { 56, 1496}, [56] = { 57, 1496}, [57] = { 58, 1496}, [58] = { 59, 1496}, -------- NEJI ----------- [60] = { 61, 1882}, [61] = { 62, 1882}, [62] = { 63, 1882}, [63] = { 64, 1882}, [64] = { 65, 1882}, [65] = { 66, 1882}, [66] = { 67, 1882}, [67] = { 68, 1882}, [68] = { 69, 1882}, [69] = { 70, 1882}, ---------- TENTEN ----------- [75] = { 76, 1304}, [76] = { 77, 1304}, [77] = { 78, 1304}, [78] = { 79, 1304}, [79] = { 80, 1304}, [80] = { 81, 1304}, [81] = { 82, 1304}, [82] = { 83, 1304}, [83] = { 84, 1304}, [84] = { 85, 1304}, [85] = { 86, 1304}, [86] = { 87, 1304}, [87] = { 88, 1304}, [88] = { 89, 1304}, ---------- KIBA ----------- [90] = { 91, 1157}, [91] = { 92, 1157}, [92] = { 93, 1157}, [93] = { 94, 1157}, [94] = { 95, 1157}, [95] = { 96, 1157}, [96] = { 97, 1157}, [97] = { 98, 1157}, [98] = { 99, 1157}, [99] = { 100, 1157}, [100] = { 101, 1157}, [101] = { 102, 1157}, [102] = { 103, 1157}, [103] = { 104, 1157}, ---------- SHINO ----------- [105] = { 106, 897}, [106] = { 107, 897}, [107] = { 108, 897}, [108] = { 109, 897}, [109] = { 110, 897}, [110] = { 111, 897}, [111] = { 112, 897}, [112] = { 113, 897}, [113] = { 114, 897}, [114] = { 115, 897}, [115] = { 116, 897}, ---------- HIDAN ----------- [130] = { 131, 1875}, [131] = { 132, 1875}, [132] = { 133, 1875}, [133] = { 134, 1875}, [134] = { 135, 1875}, [135] = { 136, 1875}, [136] = { 137, 1875}, [137] = { 138, 1875}, [138] = { 139, 1875}, [139] = { 140, 1875}, [140] = { 141, 1875}, [141] = { 142, 1875}, [142] = { 143, 1875}, [143] = { 144, 1875}, [144] = { 145, 1875}, ---------- KAKUZU ----------- [145] = { 146, 925}, [146] = { 147, 925}, [147] = { 148, 925}, [148] = { 149, 925}, [149] = { 150, 925}, [150] = { 151, 925}, [151] = { 152, 925}, [152] = { 153, 925}, [153] = { 154, 925}, [154] = { 155, 925}, [155] = { 156, 925}, [156] = { 157, 925}, [157] = { 158, 925}, [158] = { 159, 925}, ---------- ITACHI ----------- [160] = { 161, 1390}, [161] = { 162, 1390}, [162] = { 163, 1390}, [163] = { 164, 1390}, [164] = { 165, 1390}, [165] = { 166, 1390}, [166] = { 167, 1390}, [167] = { 168, 1390}, [168] = { 169, 1390}, [169] = { 170, 1390}, [170] = { 171, 1390}, [171] = { 172, 1390}, [172] = { 173, 1390}, [173] = { 174, 1390}, ---------- KISAME ----------- [117] = { 118, 1567}, [118] = { 119, 1567}, [119] = { 120, 1567}, [120] = { 121, 1567}, [121] = { 122, 1567}, [122] = { 123, 1567}, [123] = { 124, 1567}, [124] = { 125, 1567}, [125] = { 126, 1567}, [126] = { 127, 1567}, [127] = { 128, 1567}, [128] = { 129, 1567}, ---------- DEIDARA ----------- [175] = { 176, 1868}, [176] = { 177, 1868}, [177] = { 178, 1868}, [178] = { 179, 1868}, [179] = { 180, 1868}, [180] = { 181, 1868}, [181] = { 182, 1868}, [182] = { 183, 1868}, [183] = { 184, 1868}, [184] = { 185, 1868}, [185] = { 186, 1868}, [186] = { 187, 1868}, [187] = { 188, 1868}, [188] = { 189, 1868}, ---------- KAKASHI ----------- [190] = { 191, 1359}, [191] = { 192, 1359}, [192] = { 193, 1359}, [193] = { 194, 1359}, [194] = { 195, 1359}, [195] = { 196, 1359}, [196] = { 197, 1359}, [197] = { 198, 1359}, [198] = { 199, 1359}, [199] = { 200, 1359}, [200] = { 201, 1359}, [201] = { 201, 1359}, ---------- YAMATO ----------- [221] = { 122, 901}, [222] = { 123, 901}, [223] = { 124, 901}, [224] = { 125, 901}, [225] = { 126, 901}, [226] = { 127, 901}, [227] = { 128, 901}, [228] = { 129, 901}, [229] = { 130, 901}, [230] = { 231, 901}, [231] = { 232, 901}, [232] = { 233, 901}, [233] = { 234, 901}, ---------- MADARA ----------- [250] = { 251, 943}, [551] = { 252, 943}, [252] = { 253, 943}, [253] = { 254, 943}, [254] = { 255, 943}, [255] = { 256, 943}, [256] = { 257, 943}, [259] = { 258, 943}, [258] = { 259, 943}, [259] = { 260, 943}, [260] = { 261, 943}, [261] = { 262, 943}, [262] = { 263, 943}, [263] = { 264, 943}, ---------- MINATO ----------- [265] = { 267, 1493}, [566] = { 268, 1493}, [267] = { 269, 1493}, [268] = { 270, 1493}, [269] = { 271, 1493}, [270] = { 272, 1493}, [271] = { 273, 1493}, [272] = { 274, 1493}, [273] = { 275, 1493}, [274] = { 276, 1493}, [275] = { 277, 1493}, [276] = { 278, 1493}, [277] = { 279, 1493}, ---------- TOBIRAMA ----------- [295] = { 296, 1306}, [269] = { 297, 1306}, [297] = { 298, 1306}, [298] = { 299, 1306}, [299] = { 300, 1306}, [300] = { 301, 1306}, [301] = { 302, 1306}, [302] = { 303, 1306}, [303] = { 304, 1306}, [304] = { 305, 1306}, [305] = { 306, 1306}, [306] = { 307, 1306}, [307] = { 308, 1306}, [308] = { 309, 1306}, ---------- OBITO ----------- [310] = { 311, 921}, [311] = { 312, 921}, [312] = { 313, 921}, [313] = { 314, 921}, [314] = { 315, 921}, [315] = { 316, 921}, [316] = { 317, 921}, [317] = { 318, 921}, [318] = { 319, 921}, [319] = { 320, 921}, [320] = { 321, 921}, [321] = { 322, 921}, [322] = { 323, 921}, [323] = { 324, 921}, ---------- GAARA ----------- [340] = { 341, 1562}, [341] = { 342, 1562}, [342] = { 343, 1562}, [343] = { 344, 1562}, [344] = { 345, 1562}, [345] = { 346, 1562}, [346] = { 347, 1562}, [347] = { 348, 1562}, [348] = { 349, 1562}, [349] = { 350, 1562}, [350] = { 351, 1562}, [351] = { 352, 1562}, [352] = { 353, 1562}, [353] = { 354, 1562}, ---------- KABUTO ----------- [360] = { 361, 911}, [361] = { 362, 911}, [362] = { 363, 911}, [363] = { 364, 911}, [364] = { 365, 911}, [365] = { 366, 911}, [366] = { 367, 911}, [367] = { 368, 911}, [368] = { 369, 911}, [369] = { 370, 911}, [370] = { 371, 911}, [371] = { 372, 911}, [372] = { 373, 911}, [373] = { 374, 911}, ---------- JYRAIA ----------- [375] = { 376, 2043}, [376] = { 377, 2043}, [377] = { 378, 2043}, [378] = { 379, 2043}, [379] = { 380, 2043}, [380] = { 381, 2043}, [381] = { 382, 2043}, [382] = { 383, 2043}, [383] = { 384, 2043}, [384] = { 385, 2043}, [385] = { 386, 2043}, [386] = { 387, 2043}, [387] = { 388, 2043}, [388] = { 389, 2043}, ---------- TSUNADE ----------- [390] = { 391, 1324}, [391] = { 392, 1324}, [392] = { 393, 1324}, [393] = { 394, 1324}, [394] = { 395, 1324}, [395] = { 396, 1324}, [396] = { 397, 1324}, [397] = { 398, 1324}, [398] = { 399, 1324}, [399] = { 400, 1324}, [400] = { 401, 1324}, [401] = { 402, 1324}, [402] = { 403, 1324}, [403] = { 404, 1324}, ---------- Hinata ----------- [420] = { 421, 1570}, [421] = { 422, 1570}, [422] = { 423, 1570}, [423] = { 424, 1570}, [424] = { 425, 1570}, [425] = { 426, 1570}, [426] = { 427, 1570}, [427] = { 428, 1570}, [428] = { 429, 1570}, [429] = { 430, 1570}, [430] = { 431, 1570}, [431] = { 432, 1570}, [432] = { 433, 1570}, ---------- NAGATO ----------- [435] = { 436, 933}, [436] = { 437, 933}, [437] = { 438, 933}, ---------- KONAN ----------- [447] = { 448, 931}, [448] = { 449, 931}, [449] = { 450, 931}, [450] = { 451, 931}, [451] = { 452, 931}, [452] = { 453, 931}, [453] = { 454, 931}, [454] = { 455, 931}, [455] = { 456, 931}, [456] = { 457, 931}, [457] = { 458, 931}, [458] = { 459, 931}, [459] = { 460, 931}, [460] = { 461, 931}, ---------- SAI ----------- [463] = { 464, 883}, [464] = { 465, 883}, [465] = { 466, 883}, [466] = { 467, 883}, [467] = { 468, 883}, [468] = { 469, 883}, [469] = { 470, 883}, [470] = { 471, 883}, [471] = { 472, 883}, ---------- CHOUJI ----------- [474] = { 475, 1360}, [475] = { 476, 1360}, [476] = { 477, 1361}, [477] = { 478, 1361}, [478] = { 479, 1361}, [479] = { 480, 1361}, [480] = { 481, 1361}, [481] = { 482, 1361}, [482] = { 483, 1361}, [483] = { 484, 1361}, [484] = { 485, 1361}, ---------- OROCHIMARU ----------- [487] = { 488, 1335}, [488] = { 489, 1335}, [489] = { 490, 1335}, [490] = { 491, 1335}, [491] = { 492, 1335}, [492] = { 493, 1335}, [493] = { 494, 1335}, [494] = { 495, 1335}, [495] = { 496, 1335}, [496] = { 497, 1335}, [497] = { 498, 1335}, ---------- HASHIRAMA ----------- [280] = { 281, 964}, [281] = { 282, 964}, [282] = { 283, 964}, [283] = { 284, 964}, [284] = { 285, 964}, [285] = { 286, 964}, [286] = { 287, 964}, [287] = { 288, 964}, [288] = { 289, 964}, [289] = { 290, 964}, [290] = { 291, 964}, [291] = { 292, 964}, [292] = { 293, 964}, [293] = { 294, 964}, ---------- INO ----------- [507] = { 508, 1294}, [508] = { 509, 1294}, [509] = { 510, 1294}, [510] = { 511, 1294}, [511] = { 512, 1294}, [512] = { 513, 1294}, [513] = { 514, 1294}, [514] = { 515, 1294}, [515] = { 516, 1294}, ---------- Kurenai ----------- [1265] = { 1266, 1981,}, [1266] = { 1267, 1981,}, [1267] = { 1268, 1981,}, [1268] = { 1269, 1981,}, [1269] = { 1270, 1981,}, [1270] = { 1271, 1981,}, ---------- Konohamaru ----------- [1255] = { 1256, 1909,}, [1256] = { 1257, 1909,}, [1257] = { 1258, 1909,}, [1258] = { 1259, 1909,}, [1259] = { 1260, 1909,}, ---------- sarutobi ----------- [651] = { 652, 1095,}, [652] = { 653, 1095,}, [653] = { 654, 1095,}, [654] = { 655, 1095,}, [655] = { 656, 1095,}, --------- SHISUI ----------- [440] = { 441, 1381,}, [441] = { 442, 1381,}, [442] = { 443, 1381,}, [443] = { 444, 1381,}, ---------- Mitsuki ----------- [680] = {681, 1114,}, [681] = {682, 1114,}, [682] = {683, 1114,}, [683] = {684, 1114,}, [684] = {685, 1114,}, ---------- DANZO ----------- [1276] = {1277, 2110,}, [1277] = {1278, 2110,}, [1278] = {1279, 2110,}, [1279] = {1280, 2110,}, [1280] = {1281, 2110,}, ---------- asura ----------- [690] = {691, 980,}, [691] = {692, 980,}, [692] = {693, 980,}, [693] = {694, 980,}, [694] = {695, 980,}, ---------- boruto ----------- [670] = {671, 1424,}, [671] = {672, 1424,}, [672] = {673, 1424,}, [673] = {674, 1424,}, [674] = {675, 1424,}, ---------- Suigetsu ----------- [800] = { 801, 1073,}, [801] = { 802, 1073,}, [802] = { 803, 1073,}, [803] = { 804, 1073,}, [804] = { 805, 1073,}, [805] = { 806, 1073,}, [806] = { 807, 1073,}, [807] = { 808, 1073,}, [808] = { 809, 1073,}, [809] = { 810, 1073,}, [810] = { 811, 1073,}, [811] = { 812, 1073,}, [812] = { 813, 1073,}, [813] = { 814, 1073,}, [814] = { 815, 1073,}, ---------- Sarada ----------- [820] = { 821, 1253,}, [821] = { 822, 1253,}, [822] = { 823, 1253,}, [823] = { 824, 1253,}, [824] = { 825, 1253,}, [825] = { 826, 1253,}, [826] = { 827, 1253,}, [827] = { 828, 1253,}, [828] = { 829, 1253,}, ---------- Maito Gai ----------- [832] = { 833, 1282,}, [833] = { 834, 1282,}, [834] = { 835, 1282,}, [835] = { 836, 1282,}, [836] = { 837, 1282,}, [837] = { 838, 1282,}, [838] = { 839, 1282,}, [839] = { 840, 1282,}, [840] = { 841, 1282,}, [841] = { 842, 1282,}, [842] = { 843, 1282,}, ---------- Zetsu ----------- [852] = { 853, 1479,}, [853] = { 854, 1479,}, [854] = { 855, 1479,}, [855] = { 856, 1479,}, ---------- Sasori ----------- [700] = { 701, 1388,}, [701] = { 702, 1388,}, [702] = { 703, 1388,}, [703] = { 704, 1388,}, [704] = { 705, 1388,}, [705] = { 706, 1388,}, [706] = { 707, 1388,}, [707] = { 708, 1388,}, ---------- KILLER BEE ----------- [205] = { 206, 2161}, [206] = { 207, 2161}, [207] = { 208, 2161}, [208] = { 209, 2161}, [209] = { 210, 2161}, [210] = { 211, 2161}, [211] = { 212, 2161}, [212] = { 213, 2161}, [213] = { 214, 2161}, [214] = { 215, 2161}, [215] = { 216, 2161}, [216] = { 217, 2161}, [217] = { 218, 2161}, [218] = { 219, 2161}, ---------- Nagato ----------- [730] = { 731, 1492,}, [731] = { 732, 1492,}, [732] = { 733, 1492,}, [733] = { 734, 1492,}, [734] = { 735, 1492,}, [735] = { 736, 1492,}, [736] = { 737, 1492,}, [737] = { 738, 1492,}, [738] = { 739, 1492,}, [739] = { 740, 1492,}, [740] = { 741, 1492,}, ---------- YaGura ----------- [1000] = { 1001, 1418,}, [1001] = { 1002, 1418,}, [1002] = { 1003, 1418,}, [1003] = { 1004, 1418,}, [1004] = { 1005, 1418,}, [1005] = { 1006, 1418,}, ---------- Guren ----------- [1010] = { 1011, 1485,}, [1011] = { 1012, 1485,}, [1012] = { 1013, 1485,}, [1013] = { 1014, 1485,}, [1014] = { 1015, 1485,}, ---------- Chojuro ----------- [901] = { 902, 1399,}, [902] = { 903, 1399,}, [903] = { 904, 1399,}, [904] = { 905,1399,}, [905] = { 906, 1399,}, [906] = { 907, 1399,}, ---------- Asuma ----------- [1290] = { 1291, 2064,}, [1291] = { 1292, 2064,}, [1292] = { 1293, 2064,}, [1293] = { 1294, 2064,}, [1294] = { 1294, 2064,}, ---------- Menma ----------- [1295] = { 1296, 2029,}, [1296] = { 1297, 2029,}, [1297] = { 1298, 2029,}, [1298] = { 1299, 2029,}, [1299] = { 1300, 2029,}, ---------- Darui ----------- [1020] = { 1021, 1539,}, [1021] = { 1022, 1539,}, [1022] = { 1023, 1539,}, [1023] = { 1024, 1539,}, ---------- Roshi ----------- [1026] = { 1027, 1598,}, [1027] = { 1028, 1598,}, [1028] = { 1029, 1598,}, [1029] = { 1030, 1598,}, [1030] = { 1029, 1598,}, ---------- Temari ----------- [1200] = { 1201, 1689,}, [1201] = { 1202, 1689,}, [1202] = { 1203, 1689,}, [1203] = { 1204, 1689,}, [1204] = { 1205, 1689,}, [1205] = { 1206, 1689,}, [1206] = { 1207, 1689,}, [1207] = { 1208, 1689,}, [1208] = { 1209, 1689,}, [1209] = { 1210, 1689,}, ---------- Muu ----------- [1215] = { 1216, 1852,}, [1216] = { 1217, 1852,}, [1217] = { 1218, 1852,}, [1218] = { 1219, 1852,}, [1219] = { 1220, 1852,}, [1220] = { 1221, 1852,}, [1221] = { 1222, 1852,}, ---------- Choji ----------- [1302] = { 1303, 2207,}, [1303] = { 1304, 2207,}, [1304] = { 1305, 2207,}, [1305] = { 1306, 2207,}, [1306] = { 1307, 2207,}, [1307] = { 1308, 2207,}, ---------- Zabuza ----------- [1310] = { 1311, 2192,}, [1311] = { 1312, 2192,}, [1312] = { 1313, 2192,}, [1313] = { 1314, 2192,}, [1314] = { 1315, 2192,}, [1315] = { 1316, 2192,}, ---------- Kaguya ----------- [1240] = { 1241, 1555,}, [1241] = { 1242, 1555,}, [1242] = { 1243, 1555,}, [1243] = { 1244, 1555,}, [1244] = { 1245, 1555,}, [1245] = { 1246, 1555,}, [1246] = { 1247, 1555,}, [1247] = { 1248, 1555,}, [1248] = { 1249, 1555,}, [1249] = { 1250, 1555,}, [1250] = { 1251, 1555,}, ---------- Kimimaro ----------- [1225] = { 1226, 1773,}, [1226] = { 1227, 1773,}, [1227] = { 1228, 1773,}, [1228] = { 1229, 1773,}, [1229] = { 1230, 1773,}, [1230] = { 1231, 1773,}, [1231] = { 1232, 1773,}, [1232] = { 1233, 1773,}, [1233] = { 1234, 1773,}, [1234] = { 1235, 1773,}, [1235] = { 1236, 1773,}, ---------- Raikage ----------- [1052] = { 1053, 1640,}, [1053] = { 1054, 1640,}, [1054] = { 1055, 1640,}, [1055] = { 1056, 1640,}, [1056] = { 1057, 1640,}, [1057] = { 1058, 1640,}, [1058] = { 1059, 1640,}, [1059] = { 1060, 1640,}, [1060] = { 1061, 1640,}, [1061] = { 1062, 1640,}, [1062] = { 1063, 1640,}, [1063] = { 1064, 1640,}, [1064] = { 1065, 1640,}, [1065] = { 1066, 1640,}, [1066] = { 1067, 1640,}, [1067] = { 1068, 1640,}, [1068] = { 1068, 1640,}, [1069] = { 1068, 1640,}, ---------- SHIKAMARU ----------- [530] = { 531, 937}, [531] = { 532, 937}, [532] = { 533, 937}, [533] = { 534, 937}, [534] = { 535, 937}, [535] = { 536, 937}, [536] = { 537, 937}, [537] = { 538, 937}, [538] = { 539, 937}, [539] = { 540, 937}, [540] = { 541, 937} } function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if msgcontains(msg, 'entrar na akatsuki') then if getPlayerVocation(cid) ~= config then if getPlayerStorageValue(cid, 159005) == -1 then if getPlayerLevel(cid) >= level then selfSay('Tem certeza de que quer se juntar a Akatsuki?.', cid) talkState[talkUser] = 1 else selfSay('Você nem sabe o nível que é pra entrar na Anbu, nao posso lhe ajudar!.', cid) end else selfSay('Você já faz parte de um de nossos clans!', cid) end else selfSay('Você faz parte dos Anbu!', cid) end end if talkState[talkUser] == 1 and msgcontains(msg, 'yes') then selfSay('Para provar a sua lealdade, você tem que trazer '..quantidade..' {cerebro}.', cid) talkState[talkUser] = 2 end if talkState[talkUser] == 2 and msgcontains(msg, 'cerebro') then if getPlayerItemCount(cid, 5944) >= 30 then local voc = config[getPlayerVocation(cid)] doPlayerSetVocation(cid, voc[1]) local outfit = {lookType = voc[2]} doCreatureChangeOutfit(cid, outfit) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+bonushp) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+bonusmp) doCreatureAddHealth(cid, getCreatureMaxHealth(cid)) doPlayerRemoveItem(cid, 5944, 30) doCreatureAddMana(cid, getCreatureMaxMana(cid)) setPlayerStorageValue(cid,159005,6) doPlayerSetExperienceRate(cid, experience) addEvent(doRemoveCreature, 5*1000, cid, true) doPlayerSendTextMessage(cid,25,'Você será deslogado em 5 segundos para entrar na academia akatsuki!') selfSay('Parabéns agora você é parte da [Academia Akatsuki].', cid) talkState[talkUser] = 0 else selfSay('Não adianta me enganar, você não tem '..quantidade..' cerebros, vai atrás, e só volte com eles.', cid) end end if isPlayerPzLocked(cid) then npcHandler:say('You can\'t travel, you have pz!', cid) end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
Postado Maio 10, 2019 6 anos Este tópico foi movido para a área correta. Esta é uma mensagem automática!Pedimos que leia as regras do fórum! Mostrar conteúdo oculto This topic has been moved to the correct area. This is an automated message!Please read the forum rules.
Postado Maio 10, 2019 6 anos @KR3 Nessa parte do script: if msgcontains(msg, 'entrar na akatsuki') then if getPlayerVocation(cid) ~= config then Troca por: if msgcontains(msg, 'entrar na akatsuki') then if getPlayerStorageValue(cid, 159004) == 1 or getPlayerStorageValue(cid, 159005) == 1 or getPlayerStorageValue(cid, 159006) == 1 or getPlayerStorageValue(cid, 159007) == 1 then doPlayerSendTextMessage(cid, 25, "você não pode entrar nessa academia você ja faz parte de uma") npcHandler:resetNpc(cid) end if getPlayerVocation(cid) ~= config then
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.