Ir para conteúdo
  • Cadastre-se

Posts Recomendados

Oi Tk , gostaria de pedir a alguém uma script que funciona assim :

 Um player usa o comando !removeakatsuki para tirar a roupa que ganha do exame , que precise dessa storage 89745) < 6 para funcionar ou nao.

e possível configurar a vocation e o numero do outfit que ira ganhar + - assim.

[ ID DA VOC - OUTFIT ]

   500-718

Link para o post
Compartilhar em outros sites

@leozincorsair

 

Talkaction

local config = {
--[vocation id] = { level, nova voc, looktype, efeito}
-- Naruto --
[1] = { 25, 2, 199, 122},
[2] = { 50, 3, 769, 122},
[3] = { 75, 4, 198, 122},
[4] = { 100, 5, 201, 122},
[5] = { 125, 6, 309, 122},
[6] = { 150, 7, 797, 122},
[7] = { 175, 8, 303, 122},
[8] = { 200, 9, 301, 122},
[9] = { 225, 10, 771, 122},
[10] = { 250, 11, 751, 122},
[11] = { 275, 12, 308, 122},
[12] = { 300, 13, 197, 122},
[13] = { 325, 14, 196, 122},
[14] = { 350, 15, 291, 122},
[15] = { 400, 16, 207, 122},
-- Sasuke --
[19] = { 25, 19, 240, 110},
[19] = { 50, 20, 240, 110},
[20] = { 70, 21, 774, 110},
[21] = { 75, 22, 311, 110},
[22] = { 100, 23, 241, 110},
[23] = { 125, 24, 773, 110},
[24] = { 150, 25, 762, 110},
[25] = { 175, 26, 312, 110},
[26] = { 200, 27, 314, 110},
[27] = { 225, 28, 315, 110},
[28] = { 250, 29, 315, 110},
[29] = { 275, 30, 316, 110},
[30] = { 300, 31, 292, 110},
[31] = { 325, 32, 295, 110},
[32] = { 350, 33, 317, 110},
[33] = { 400, 34, 296, 110},
-- Lee --
[35] = { 25, 35, 325, 110},
[35] = { 50, 36, 324, 110},
[36] = { 70, 37, 323, 110},
[37] = { 75, 38, 322, 110},
[38] = { 100, 39, 321, 110},
[39] = { 125, 40, 320, 110},
[40] = { 150, 41, 319, 110},
[41] = { 200, 42, 745, 110},
[42] = { 255, 43, 726, 110},
[43] = { 350, 44, 318, 110},
[44] = { 400, 45, 294, 110},
-- Shikamaru --
[47] = { 25, 47, 251, 122},
[47] = { 50, 48, 251, 122},
[48] = { 75, 49, 243, 122},
[49] = { 100, 50, 245, 122},
[50] = { 125, 51, 242, 122},
[51] = { 150, 52, 246, 122},
[52] = { 175, 53, 247, 122},
[53] = { 220, 54, 248, 122},
[54] = { 275, 55, 249, 122},
-- Minato --
[58] = { 25, 58, 329, 122},
[58] = { 75, 59, 332, 122},
[59] = { 125, 60, 330, 122},
[60] = { 175, 61, 331, 122},
[61] = { 225, 62, 333, 122},
[62] = { 275, 63, 334, 122},
[63] = { 375, 64, 335, 122},
[64] = { 450, 65, 300, 122},
-- Sakura --
[70] = { 25, 70, 722, 122},
[70] = { 50, 71, 723, 122},
[71] = { 75, 72, 255, 122},
[73] = { 100, 74, 254, 122},
-- Neji --
[80] = { 25, 80, 760, 122},
[80] = { 50, 81, 759, 122},
[81] = { 75, 82, 758, 122},
[82] = { 100, 83, 757, 122},
[83] = { 125, 84, 756, 122},
[84] = { 150, 85, 755, 122},
[85] = { 175, 86, 754, 122},
[86] = { 225, 87, 253, 122},
[88] = { 350, 89, 252, 122},
-- Tenten --
[94] = { 25, 94, 718, 122},
[94] = { 50, 95, 717, 122},
[95] = { 75, 96, 716, 122},
[96] = { 100, 97, 715, 122},
[97] = { 125, 98, 714, 122},
[98] = { 150, 99, 713, 122},
[99] = { 175, 100, 712, 122},
[100] = { 220, 101, 711, 122},
[101] = { 300, 102, 710, 122},
-- Hinata --
[110] = { 25, 110, 709, 122},
[110] = { 50, 111, 708, 122},
[111] = { 75, 112, 707, 122},
[112] = { 100, 113, 706, 122},
[113] = { 125, 114, 704, 122},
[114] = { 150, 115, 703, 122},
[115] = { 175, 116, 702, 122},
[116] = { 200, 117, 701, 122},
[117] = { 225, 118, 700, 122},
[118] = { 275, 119, 700, 122},
-- Jyraia --
[128] = { 25, 128, 209, 122},
[128] = { 50, 129, 210, 122},
[129] = { 75, 130, 211, 122},
[130] = { 100, 131, 212, 122},
[131] = { 125, 132, 213, 122},
[132] = { 150, 133, 214, 122},
[133] = { 175, 134, 215, 122},
[134] = { 200, 135, 216, 122},
-- Killer Bee --
[165] = { 25, 165, 280, 122},
[165] = { 50, 166, 281, 122},
[166] = { 75, 167, 282, 122},
[167] = { 100, 168, 283, 122},
[168] = { 125, 169, 284, 122},
[169] = { 150, 170, 285, 122},
[170] = { 175, 171, 286, 122},
[171] = { 200, 172, 287, 122},
[172] = { 225, 173, 288, 122},
[173] = { 235, 174, 289, 122},
[174] = { 275, 175, 290, 122},
-- Itachi --
[180] = { 25, 180, 81, 122},
[180] = { 50, 181, 80, 122},
[181] = { 75, 182, 77, 122},
[182] = { 100, 183, 78, 122},
[183] = { 125, 184, 76, 122},
[184] = { 150, 185, 75, 122},
[185] = { 175, 186, 74, 122},
[186] = { 200, 187, 73, 122},
-- Tsunade --
[193] = { 25, 193, 267, 122},
[193] = { 50, 194, 268, 122},
[194] = { 75, 195, 269, 122},
[195] = { 100, 196, 270, 122},
[196] = { 125, 197, 271, 122},
[197] = { 150, 198, 272, 122},
[198] = { 175, 199, 273, 122},
[199] = { 200, 200, 274, 122},
[200] = { 225, 201, 275, 122},
[201] = { 235, 202, 276, 122},
-- Temari --
[211] = { 25, 211, 259, 122},
[211] = { 50, 212, 260, 122},
[212] = { 75, 213, 261, 122},
[213] = { 100, 214, 262, 122},
[214] = { 125, 215, 263, 122},
[215] = { 150, 216, 264, 122},
[216] = { 175, 217, 265, 122},
[217] = { 200, 218, 266, 122},
-- Madara --
[228] = { 25, 228, 10, 122},
[228] = { 50, 229, 11, 122},
[229] = { 75, 230, 12, 122},
[230] = { 100, 231, 13, 122},
[231] = { 125, 232, 14, 122},
[232] = { 150, 233, 15, 122},
[233] = { 175, 234, 15, 122},
[234] = { 200, 235, 338, 122},
-- Tobirama --
[412] = { 25, 412, 739, 122},
[412] = { 50, 413, 738, 122},
[413] = { 75, 414, 194, 122},
[414] = { 100, 415, 193, 122},
[415] = { 125, 416, 192, 122},
[416] = { 150, 417, 191, 122},
[417] = { 175, 418, 188, 122},
[418] = { 200, 419, 187, 122},
-- Raikage --
[239] = { 25, 239, 87, 122},
[239] = { 50, 240, 88, 122},
[240] = { 75, 241, 89, 122},
[241] = { 100, 242, 90, 122},
[242] = { 125, 243, 91, 122},
[243] = { 150, 244, 179, 122},
[244] = { 175, 245, 178, 122},
[245] = { 200, 246, 177, 122},
[246] = { 200, 247, 176, 122},
[247] = { 200, 248, 99, 122},
-- Hashirama --
[254] = { 25, 254, 16, 122},
[254] = { 50, 255, 17, 122},
[255] = { 75, 256, 18, 122},
[256] = { 100, 257, 19, 122},
[257] = { 125, 258, 20, 122},
[258] = { 150, 259, 21, 122},
[259] = { 175, 260, 22, 122},
[260] = { 200, 261, 23, 122},
[261] = { 200, 262, 24, 122},
-- Ino --
[272] = { 25, 272, 799, 122},
[272] = { 50, 273, 2, 122},
[273] = { 75, 274, 3, 122},
[274] = { 100, 275, 4, 122},
[275] = { 125, 276, 5, 122},
[276] = { 150, 277, 6, 122},
[277] = { 175, 278, 7, 122},
[278] = { 200, 279, 8, 122},
-- Sai --
[315] = { 25, 315, 625, 122},
[315] = { 50, 316, 624, 122},
[316] = { 75, 317, 623, 122},
[317] = { 100, 318, 622, 122},
[318] = { 125, 319, 621, 122},
[319] = { 150, 320, 620, 122},
-- Chouji --
[295] = { 25, 295, 635, 122},
[295] = { 50, 296, 634, 122},
[296] = { 75, 297, 633, 122},
[297] = { 100, 298, 632, 122},
[298] = { 125, 299, 631, 122},
[299] = { 150, 300, 630, 122},
[300] = { 175, 301, 616, 122},
[301] = { 200, 302, 615, 122},
-- Shino --
[285] = { 25, 285, 53, 122},
[285] = { 50, 286, 54, 122},
[286] = { 75, 287, 55, 122}
}

local t = { -- voc = {da vocação, até a vocação}, o lookType será = X
[1] = {voc = {1,15}, lookType = 261},
[2] = {voc = {19,33}, lookType = 761},
[3] = {voc = {35,44}, lookType = 86},
[4] = {voc = {47,54}, lookType = 364},
[5] = {voc = {58,64}, lookType = 336},
[6] = {voc = {70,73}, lookType = 122},
[7] = {voc = {80,88}, lookType = 84},
[8] = {voc = {94,101}, lookType = 83},
[9] = {voc = {110,118}, lookType = 362},
[10] = {voc = {128,142}, lookType = 52},
[11] = {voc = {165,174}, lookType = 82},
[12] = {voc = {180,186}, lookType = 76},
[13] = {voc = {193,201}, lookType = 798},
[14] = {voc = {211,217}, lookType = 85},
[15] = {voc = {228,234}, lookType = 366},
[16] = {voc = {412,418}, lookType = 182},
[17] = {voc = {239,247}, lookType = 208},
[18] = {voc = {254,261}, lookType = 363},
[19] = {voc = {295,301}, lookType = 390},
[20] = {voc = {272,278}, lookType = 9}
}

local tempo  = 15 -- em segundos

function onSay(cid, words, param, channel)
    local p = getPlayerPosition(cid)
    if(param == '')  then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires param.")
        doSendMagicEffect(p, CONST_ME_POFF)
        return true
    end
   
    param = param:lower()
    local voc = config[getPlayerVocation(cid)]
    local outfit = getCreatureOutfit(cid)
    
    if getPlayerStorageValue(cid, 23481) - os.time() > 0 then
        doPlayerSendCancel(cid, "Você tem que esperar " .. tempo .. " segundos para usar o comando novamente.")
        doSendMagicEffect(p, CONST_ME_POFF)
        return true
    end    
    
    if getPlayerStorageValue(cid, 8974555) == -1 then
        doPlayerSendCancel(cid, "Você não é da Akatsuki!")
        doSendMagicEffect(p, CONST_ME_POFF)
        return true
    end
    
    if setAkatsuki(cid, t) == nil then
    return true
    end
        
    if param == 'on' then
        outfit.lookType = setAkatsuki(cid, t)
        doCreatureChangeOutfit(cid, outfit)
        doCreatureSay(cid, "Você virou um Akatsuki!", TALKTYPE_ORANGE_1)
        setPlayerStorageValue(cid, 23481, tempo + os.time())
        return true
    elseif param == 'off' then
        outfit.lookType = voc[3]
        doCreatureChangeOutfit(cid, outfit)
        doCreatureSay(cid, "Você voltou ao normal!", TALKTYPE_ORANGE_1)
        setPlayerStorageValue(cid, 23481, tempo + os.time())
        return true
    end
end

function setAkatsuki(cid, table)
local vocs = getPlayerVocation(cid)
for i, v in pairs(table) do
if v.voc[1] <= vocs and v.voc[2] >= vocs then
return v.lookType
end
end
return nil
end

Talkaction.xml

	<talkaction words="!Akatsuki" event="script" value="akat.lua"/>

 

Rep Para Dwarfer!

 

Creditos

@Dwarfer

Editado por ZikaLord (veja o histórico de edições)
O rei de seu proprio destino é aquele que luta pela gloria do amanhã!
Discord : ZoR#9373


 

Link para o post
Compartilhar em outros sites
  • 2 months later...
Em 03/09/2017 em 17:03, ZikaLord disse:

@leozincorsair

 

Talkaction


local config = {
--[vocation id] = { level, nova voc, looktype, efeito}
-- Naruto --
[1] = { 25, 2, 199, 122},
[2] = { 50, 3, 769, 122},
[3] = { 75, 4, 198, 122},
[4] = { 100, 5, 201, 122},
[5] = { 125, 6, 309, 122},
[6] = { 150, 7, 797, 122},
[7] = { 175, 8, 303, 122},
[8] = { 200, 9, 301, 122},
[9] = { 225, 10, 771, 122},
[10] = { 250, 11, 751, 122},
[11] = { 275, 12, 308, 122},
[12] = { 300, 13, 197, 122},
[13] = { 325, 14, 196, 122},
[14] = { 350, 15, 291, 122},
[15] = { 400, 16, 207, 122},
-- Sasuke --
[19] = { 25, 19, 240, 110},
[19] = { 50, 20, 240, 110},
[20] = { 70, 21, 774, 110},
[21] = { 75, 22, 311, 110},
[22] = { 100, 23, 241, 110},
[23] = { 125, 24, 773, 110},
[24] = { 150, 25, 762, 110},
[25] = { 175, 26, 312, 110},
[26] = { 200, 27, 314, 110},
[27] = { 225, 28, 315, 110},
[28] = { 250, 29, 315, 110},
[29] = { 275, 30, 316, 110},
[30] = { 300, 31, 292, 110},
[31] = { 325, 32, 295, 110},
[32] = { 350, 33, 317, 110},
[33] = { 400, 34, 296, 110},
-- Lee --
[35] = { 25, 35, 325, 110},
[35] = { 50, 36, 324, 110},
[36] = { 70, 37, 323, 110},
[37] = { 75, 38, 322, 110},
[38] = { 100, 39, 321, 110},
[39] = { 125, 40, 320, 110},
[40] = { 150, 41, 319, 110},
[41] = { 200, 42, 745, 110},
[42] = { 255, 43, 726, 110},
[43] = { 350, 44, 318, 110},
[44] = { 400, 45, 294, 110},
-- Shikamaru --
[47] = { 25, 47, 251, 122},
[47] = { 50, 48, 251, 122},
[48] = { 75, 49, 243, 122},
[49] = { 100, 50, 245, 122},
[50] = { 125, 51, 242, 122},
[51] = { 150, 52, 246, 122},
[52] = { 175, 53, 247, 122},
[53] = { 220, 54, 248, 122},
[54] = { 275, 55, 249, 122},
-- Minato --
[58] = { 25, 58, 329, 122},
[58] = { 75, 59, 332, 122},
[59] = { 125, 60, 330, 122},
[60] = { 175, 61, 331, 122},
[61] = { 225, 62, 333, 122},
[62] = { 275, 63, 334, 122},
[63] = { 375, 64, 335, 122},
[64] = { 450, 65, 300, 122},
-- Sakura --
[70] = { 25, 70, 722, 122},
[70] = { 50, 71, 723, 122},
[71] = { 75, 72, 255, 122},
[73] = { 100, 74, 254, 122},
-- Neji --
[80] = { 25, 80, 760, 122},
[80] = { 50, 81, 759, 122},
[81] = { 75, 82, 758, 122},
[82] = { 100, 83, 757, 122},
[83] = { 125, 84, 756, 122},
[84] = { 150, 85, 755, 122},
[85] = { 175, 86, 754, 122},
[86] = { 225, 87, 253, 122},
[88] = { 350, 89, 252, 122},
-- Tenten --
[94] = { 25, 94, 718, 122},
[94] = { 50, 95, 717, 122},
[95] = { 75, 96, 716, 122},
[96] = { 100, 97, 715, 122},
[97] = { 125, 98, 714, 122},
[98] = { 150, 99, 713, 122},
[99] = { 175, 100, 712, 122},
[100] = { 220, 101, 711, 122},
[101] = { 300, 102, 710, 122},
-- Hinata --
[110] = { 25, 110, 709, 122},
[110] = { 50, 111, 708, 122},
[111] = { 75, 112, 707, 122},
[112] = { 100, 113, 706, 122},
[113] = { 125, 114, 704, 122},
[114] = { 150, 115, 703, 122},
[115] = { 175, 116, 702, 122},
[116] = { 200, 117, 701, 122},
[117] = { 225, 118, 700, 122},
[118] = { 275, 119, 700, 122},
-- Jyraia --
[128] = { 25, 128, 209, 122},
[128] = { 50, 129, 210, 122},
[129] = { 75, 130, 211, 122},
[130] = { 100, 131, 212, 122},
[131] = { 125, 132, 213, 122},
[132] = { 150, 133, 214, 122},
[133] = { 175, 134, 215, 122},
[134] = { 200, 135, 216, 122},
-- Killer Bee --
[165] = { 25, 165, 280, 122},
[165] = { 50, 166, 281, 122},
[166] = { 75, 167, 282, 122},
[167] = { 100, 168, 283, 122},
[168] = { 125, 169, 284, 122},
[169] = { 150, 170, 285, 122},
[170] = { 175, 171, 286, 122},
[171] = { 200, 172, 287, 122},
[172] = { 225, 173, 288, 122},
[173] = { 235, 174, 289, 122},
[174] = { 275, 175, 290, 122},
-- Itachi --
[180] = { 25, 180, 81, 122},
[180] = { 50, 181, 80, 122},
[181] = { 75, 182, 77, 122},
[182] = { 100, 183, 78, 122},
[183] = { 125, 184, 76, 122},
[184] = { 150, 185, 75, 122},
[185] = { 175, 186, 74, 122},
[186] = { 200, 187, 73, 122},
-- Tsunade --
[193] = { 25, 193, 267, 122},
[193] = { 50, 194, 268, 122},
[194] = { 75, 195, 269, 122},
[195] = { 100, 196, 270, 122},
[196] = { 125, 197, 271, 122},
[197] = { 150, 198, 272, 122},
[198] = { 175, 199, 273, 122},
[199] = { 200, 200, 274, 122},
[200] = { 225, 201, 275, 122},
[201] = { 235, 202, 276, 122},
-- Temari --
[211] = { 25, 211, 259, 122},
[211] = { 50, 212, 260, 122},
[212] = { 75, 213, 261, 122},
[213] = { 100, 214, 262, 122},
[214] = { 125, 215, 263, 122},
[215] = { 150, 216, 264, 122},
[216] = { 175, 217, 265, 122},
[217] = { 200, 218, 266, 122},
-- Madara --
[228] = { 25, 228, 10, 122},
[228] = { 50, 229, 11, 122},
[229] = { 75, 230, 12, 122},
[230] = { 100, 231, 13, 122},
[231] = { 125, 232, 14, 122},
[232] = { 150, 233, 15, 122},
[233] = { 175, 234, 15, 122},
[234] = { 200, 235, 338, 122},
-- Tobirama --
[412] = { 25, 412, 739, 122},
[412] = { 50, 413, 738, 122},
[413] = { 75, 414, 194, 122},
[414] = { 100, 415, 193, 122},
[415] = { 125, 416, 192, 122},
[416] = { 150, 417, 191, 122},
[417] = { 175, 418, 188, 122},
[418] = { 200, 419, 187, 122},
-- Raikage --
[239] = { 25, 239, 87, 122},
[239] = { 50, 240, 88, 122},
[240] = { 75, 241, 89, 122},
[241] = { 100, 242, 90, 122},
[242] = { 125, 243, 91, 122},
[243] = { 150, 244, 179, 122},
[244] = { 175, 245, 178, 122},
[245] = { 200, 246, 177, 122},
[246] = { 200, 247, 176, 122},
[247] = { 200, 248, 99, 122},
-- Hashirama --
[254] = { 25, 254, 16, 122},
[254] = { 50, 255, 17, 122},
[255] = { 75, 256, 18, 122},
[256] = { 100, 257, 19, 122},
[257] = { 125, 258, 20, 122},
[258] = { 150, 259, 21, 122},
[259] = { 175, 260, 22, 122},
[260] = { 200, 261, 23, 122},
[261] = { 200, 262, 24, 122},
-- Ino --
[272] = { 25, 272, 799, 122},
[272] = { 50, 273, 2, 122},
[273] = { 75, 274, 3, 122},
[274] = { 100, 275, 4, 122},
[275] = { 125, 276, 5, 122},
[276] = { 150, 277, 6, 122},
[277] = { 175, 278, 7, 122},
[278] = { 200, 279, 8, 122},
-- Sai --
[315] = { 25, 315, 625, 122},
[315] = { 50, 316, 624, 122},
[316] = { 75, 317, 623, 122},
[317] = { 100, 318, 622, 122},
[318] = { 125, 319, 621, 122},
[319] = { 150, 320, 620, 122},
-- Chouji --
[295] = { 25, 295, 635, 122},
[295] = { 50, 296, 634, 122},
[296] = { 75, 297, 633, 122},
[297] = { 100, 298, 632, 122},
[298] = { 125, 299, 631, 122},
[299] = { 150, 300, 630, 122},
[300] = { 175, 301, 616, 122},
[301] = { 200, 302, 615, 122},
-- Shino --
[285] = { 25, 285, 53, 122},
[285] = { 50, 286, 54, 122},
[286] = { 75, 287, 55, 122}
}

local t = { -- voc = {da vocação, até a vocação}, o lookType será = X
[1] = {voc = {1,15}, lookType = 261},
[2] = {voc = {19,33}, lookType = 761},
[3] = {voc = {35,44}, lookType = 86},
[4] = {voc = {47,54}, lookType = 364},
[5] = {voc = {58,64}, lookType = 336},
[6] = {voc = {70,73}, lookType = 122},
[7] = {voc = {80,88}, lookType = 84},
[8] = {voc = {94,101}, lookType = 83},
[9] = {voc = {110,118}, lookType = 362},
[10] = {voc = {128,142}, lookType = 52},
[11] = {voc = {165,174}, lookType = 82},
[12] = {voc = {180,186}, lookType = 76},
[13] = {voc = {193,201}, lookType = 798},
[14] = {voc = {211,217}, lookType = 85},
[15] = {voc = {228,234}, lookType = 366},
[16] = {voc = {412,418}, lookType = 182},
[17] = {voc = {239,247}, lookType = 208},
[18] = {voc = {254,261}, lookType = 363},
[19] = {voc = {295,301}, lookType = 390},
[20] = {voc = {272,278}, lookType = 9}
}

local tempo  = 15 -- em segundos

function onSay(cid, words, param, channel)
    local p = getPlayerPosition(cid)
    if(param == '')  then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires param.")
        doSendMagicEffect(p, CONST_ME_POFF)
        return true
    end
   
    param = param:lower()
    local voc = config[getPlayerVocation(cid)]
    local outfit = getCreatureOutfit(cid)
    
    if getPlayerStorageValue(cid, 23481) - os.time() > 0 then
        doPlayerSendCancel(cid, "Você tem que esperar " .. tempo .. " segundos para usar o comando novamente.")
        doSendMagicEffect(p, CONST_ME_POFF)
        return true
    end    
    
    if getPlayerStorageValue(cid, 8974555) == -1 then
        doPlayerSendCancel(cid, "Você não é da Akatsuki!")
        doSendMagicEffect(p, CONST_ME_POFF)
        return true
    end
    
    if setAkatsuki(cid, t) == nil then
    return true
    end
        
    if param == 'on' then
        outfit.lookType = setAkatsuki(cid, t)
        doCreatureChangeOutfit(cid, outfit)
        doCreatureSay(cid, "Você virou um Akatsuki!", TALKTYPE_ORANGE_1)
        setPlayerStorageValue(cid, 23481, tempo + os.time())
        return true
    elseif param == 'off' then
        outfit.lookType = voc[3]
        doCreatureChangeOutfit(cid, outfit)
        doCreatureSay(cid, "Você voltou ao normal!", TALKTYPE_ORANGE_1)
        setPlayerStorageValue(cid, 23481, tempo + os.time())
        return true
    end
end

function setAkatsuki(cid, table)
local vocs = getPlayerVocation(cid)
for i, v in pairs(table) do
if v.voc[1] <= vocs and v.voc[2] >= vocs then
return v.lookType
end
end
return nil
end

Talkaction.xml


	<talkaction words="!Akatsuki" event="script" value="akat.lua"/>

 

Rep Para Dwarfer!

 

Creditos

@Dwarfer

 

Cara não funcionou me ajuda ai se possível !

 

 

Sem título.png

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