- 0
suporte scripts bug held machine
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.
-
Conteúdo Similar
-
- 0 respostas
- 963 visualizações
-
- 4 respostas
- 1525 visualizações
-
- 3 respostas
- 1354 visualizações
-
- 0 respostas
- 1207 visualizações
-
- 3 respostas
- 1306 visualizações
-
Pergunta
Azon25 2
ola galera fiz esse tópico porque achei um script ótimo aqui no fórum, so que quando adapto ele buga meus chanells, trade help etc..
o que ta no meu creturerescript e esse :
local trade_options = {
[22] = {token = {15382, 20}, results = {13941,13948,13969,13962,13955,13983,13976,13990,15372,15304,15365,15297,15358,15351,15344,15337,15330,15323,15311,13942,13949,13970,13963,13956,13984,13977,13991,15305,15366,15298,15373,15366,15359,15352,15345,15338,15324,15331}},---- colocar tier 1 ao 2
[23] = {token = {15380, 70}, results = {15372, 15365, 15366,13941,13948,13969,13962,13955,13983,13976,13990,15304,15297,15358,15351,15344,15337,15330,15323,15311,13942,13949,13970,13963,13956,13984,13977,13991,15305,15298,15373,15366,15359,15352,15345,15338,15324,15331,13943,13950,13971,13964,13957,13985,13978,13992,15306,15299,15374,15367,15360,15353,15346,15339,15332,15325,15318,15313}}, --- colocar held tier 1 ao 3
[24] = {token = {15380, 150}, results = {13942,13949,13970,13963,13956,13984,13977,13991,15305,15366,15298,15373,15366,15359,15352,15345,15338,15324,15331,13943,13950,13971,13964,13957,13985,13978,13992,15306,15299,15374,15367,15360,15353,15346,15339,15332,15325,15318,15313,13944,13951,13972,13965,13958,13986,13979,13993,15307,15300,15375,15368,15361,15354,15347,15340,15333,15326,15314}},
[25] = {token = {15380, 300}, results = {13942,13949,13970,13963,13956,13984,13977,13991,15305,15366,15298,15373,15366,15359,15352,15345,15338,15324,15331,13943,13950,13971,13964,13957,13985,13978,13992,15306,15299,15374,15367,15360,15353,15346,15339,15332,15325,15318,15313,13944,13951,13972,13965,13958,13986,13979,13993,15307,15300,15375,15368,15361,15354,15347,15340,15333,15326,15314,13945,13946,13952,13953,13973,13974,13966,13967,13959,13960,13987,13988,13980,13981,13994,13995,15308,15309,15301,15302,15376,15377,15369,15370,15362,15363,15355,15356,15348,15349,15341,15342,15334,15335,15327,15328,15319,15322,15315,15316}},
[26] = {token = {15381, 30}, results = {15372, 15365, 15366,13941,13948,13969,13962,13955,13983,13976,13990,15304,15297,15358,15351,15344,15337,15330,15323,15311,13942,13949,13970,13963,13956,13984,13977,13991,15305,15298,15373,15366,15359,15352,15345,15338,15324,15331,13943,13950,13971,13964,13957,13985,13978,13992,15306,15299,15374,15367,15360,15353,15346,15339,15332,15325,15318,15313}},
[27] = {token = {15381, 75}, results = {13942,13949,13970,13963,13956,13984,13977,13991,15305,15366,15298,15373,15366,15359,15352,15345,15338,15324,15331,13943,13950,13971,13964,13957,13985,13978,13992,15306,15299,15374,15367,15360,15353,15346,15339,15332,15325,15318,15313,13944,13951,13972,13965,13958,13986,13979,13993,15307,15300,15375,15368,15361,15354,15347,15340,15333,15326,15314}},
[28] = {token = {15381, 150}, results = {13942,13949,13970,13963,13956,13984,13977,13991,15305,15366,15298,15373,15366,15359,15352,15345,15338,15324,15331,13943,13950,13971,13964,13957,13985,13978,13992,15306,15299,15374,15367,15360,15353,15346,15339,15332,15325,15318,15313,13944,13951,13972,13965,13958,13986,13979,13993,15307,15300,15375,15368,15361,15354,15347,15340,15333,15326,15314,13945,13946,13952,13953,13973,13974,13966,13967,13959,13960,13987,13988,13980,13981,13994,13995,15308,15309,15301,15302,15376,15377,15369,15370,15362,15363,15355,15356,15348,15349,15341,15342,15334,15335,15327,15328,15319,15322,15315,15316}},
}
function onJoinChannel(cid, channelId, users, isTv)
local option = trade_options[channelId]
if not option then
return false
end
doPlayerSetVocation(cid, 1)
if doPlayerRemoveItem(cid, option.token[1], option.token[2]) then
local result = option.results[math.random(#option.results)]
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "In trade of "..option.token[2].."x "..getItemNameById(option.token[1])..", you received: "..getItemNameById(result)..".")
doPlayerAddItem(cid, result, 1)
else
doPlayerSendTextMessage(cid, 27, "You do not have "..option.token[2].."x "..getItemNameById(option.token[1])..".")
end
return false
end
se
eu peguei desse tópico e editei os meus helds
Link para o comentário
Compartilhar em outros sites
0 respostass a esta questão
Posts Recomendados