Postado Junho 26, 2018 6 anos Solução abre todos esses arquivos e depois dessa linha: doCreatureChangeOutfit(cid, outfit) adiciona essa linha embaixo setPlayerStorageValue(cid, 578744, ":"..t[getPlayerVocation(cid)]..",:"..getPlayerVocation(cid)) por exemplo do akatsuki local t = { [1] = 1096, -- [VocID] = lookTypeID [2] = 1372, [3] = 944, [4] = 1424, [5] = 1149, [6] = 1563, [7] = 565, [8] = 735, [9] = 334, [10] = 1297, [11] = 446, [12] = 828, [13] = 608, [14] = 1683, [15] = 1091, [16] = 1702, [17] = 856, [18] = 1545, [19] = 808, [20] = 1198, [21] = 650, [22] = 1616, [23] = 1168, [24] = 547, [25] = 389, [26] = 590, [27] = 1446, [50] = 1318, [52] = 349, [54] = 1049, [56] = 1439, [58] = 1772, [60] = 368, [62] = 313, [64] = 401, [66] = 497, [68] = 1804, [70] = 435, [72] = 1755, [74] = 679, [76] = 1745, [100] = 1774, [103] = 1031, [105] = 633, [107] = 359 } local key = 89785 -- Akatsuki storage local effect = 3 -- Efeito ao transformar function onSay(cid, words, param, channel) local pos = getCreaturePosition(cid) if t[getPlayerVocation(cid)] then if getCreatureStorage(cid, key) >= 1 then local outfit = {lookType = t[getPlayerVocation(cid)]} doCreatureChangeOutfit(cid, outfit) setPlayerStorageValue(cid, 578744, ":"..t[getPlayerVocation(cid)]..",:"..getPlayerVocation(cid)) doCreatureSay(cid, "!akatsuki", TALKTYPE_MONSTER) doSendMagicEffect(pos, effect) return true else doPlayerSendTextMessage(cid, 27, "Voce não fez a quest Akatsuki") doSendMagicEffect(pos, 2) return true end else doPlayerSendTextMessage(cid, 27, "Sua vocation ainda não tem akatsuki transform.") doSendMagicEffect(pos, 2) return true end return true end [*Ninguém será digno do sucesso se não usar suas derrotas para conquistá-lo.*] DISCORD: vodkart#6090
Postado Junho 26, 2018 6 anos Autor Em 26/06/2018 em 01:53, Vodkart disse: local sagastor = 578744 no saga.lua q vc postou ta assim não precisa nos outros scripts então? @Vodkart Perfeito como sempre. Continue assim mano vc tem ótimas explicações e ajuda MUITO sem enrolalações Olá, que tal dar uma olhada no meu projeto? https://discord.gg/bsNkbsyJ3W
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.