Giazzrian
C O N T R A
- 6/1/11
- 1,880
- 1,147
Tks,mình làm được rồi
Mà có cách nào để check combobox là khi chọn ở mục index là 2 thì sẽ thực hiện lệnh.Mình thấy cái listbox nó có cơ mà sao cái combo lại không có nhỉ ?
Help file thẳng tiến

Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Tks,mình làm được rồi
Mà có cách nào để check combobox là khi chọn ở mục index là 2 thì sẽ thực hiện lệnh.Mình thấy cái listbox nó có cơ mà sao cái combo lại không có nhỉ ?

JLR ơi,mình làm start như vầy bấm nút xong nó không chạy là thế nào nhỉ :(thế thì trách đc ai![]()
play = true; -- switch to play or not
if play == true then --
map = JLR.GetText("MapList"); -- get map name
numberbot = JLR.GetText("soluongbot");
cvarconfig = JLR.CVarRemove("");
cvarconfig = JLR.CVarAdd("sv_gravity", "550")
cvarconfig = JLR.CVarAdd("bot_quota", numberbot);
cvarconfig = JLR.CVarSave();
JLR.RunCSMap(VERSION_V40, map); -- play with map
end
JLR ơi,mình làm start như vầy bấm nút xong nó không chạy là thế nào nhỉ :(
PHP:play = true; -- switch to play or not if play == true then -- map = JLR.GetText("MapList"); -- get map name numberbot = JLR.GetText("soluongbot"); cvarconfig = JLR.CVarRemove(""); cvarconfig = JLR.CVarAdd("sv_gravity", "550") cvarconfig = JLR.CVarAdd("bot_quota", numberbot); cvarconfig = JLR.CVarSave(); JLR.RunCSMap(VERSION_V40, map); -- play with map end
ờ... chả biết nó sai cái j
..... mà nó ko chạy game hay sao
, hay là ko lưu cvarờ... chả biết nó sai cái j
..... mà nó ko chạy game hay sao
, hay là ko lưu cvar
Image.Load("batdau", "AutoPlay\\Images\\UI_GameRoom\\StartDown.tga");
play = true; -- switch to play or not
map = JLR.GetText("MapList");
if map == pqnet_tauchohang then
JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_0_0.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_0_0.tga", true);
JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_0_1.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_0_1.tga", true);
JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_0_2.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_0_2.tga", true);
JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_0_3.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_0_3.tga", true);
JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_1_0.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_1_0.tga", true);
JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_1_1.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_1_1.tga", true);
JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_1_2.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_1_2.tga", true);
JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_1_3.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_1_3.tga", true);
JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_2_0.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_2_0.tga", true);
JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_2_1.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_2_1.tga", true);
JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_2_2.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_2_2.tga", true);
JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_2_3.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_2_3.tga", true);
end
if play == true then --
-- get map name
numberbot = JLR.GetText("soluongbot");
JLR.RunCSMap(VERSION_V40, map);
-- play with map
end


[spoil][/spoil]PHP:Image.Load("batdau", "AutoPlay\\Images\\UI_GameRoom\\StartDown.tga"); play = true; -- switch to play or not map = JLR.GetText("MapList"); if map == pqnet_tauchohang then JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_0_0.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_0_0.tga", true); JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_0_1.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_0_1.tga", true); JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_0_2.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_0_2.tga", true); JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_0_3.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_0_3.tga", true); JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_1_0.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_1_0.tga", true); JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_1_1.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_1_1.tga", true); JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_1_2.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_1_2.tga", true); JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_1_3.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_1_3.tga", true); JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_2_0.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_2_0.tga", true); JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_2_1.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_2_1.tga", true); JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_2_2.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_2_2.tga", true); JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_2_3.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_2_3.tga", true); end if play == true then -- -- get map name numberbot = JLR.GetText("soluongbot"); JLR.RunCSMap(VERSION_V40, map); -- play with map end
Mình định copy background của map nhưng nó vừa không thực hiện lại vừa không vào map là thế nào nhỉ ? khi bỏ cái copy ấy ra lại được
Mà cái code trên của mình bị lỗi không vào được map,nó cứ ở ngoài menu.có cách nào fix được không![]()

))Ném lên đicái play chả cần set làm j, xem lại cách dùng _SourceFolder như thế nào. xem lại biến trả về của GetText là gì, có cùng dạng với pqnet_tauchohang hay ko
kiểu này chắc teamview hoặc ném project lên kiểm tra cho nó lẹ))
Hay onl trên yahoo cũng được,teamviewer luôn 
ông có nick indiagorose không,tui đăng ký mãi không được :(cái play chả cần set làm j, xem lại cách dùng _SourceFolder như thế nào. xem lại biến trả về của GetText là gì, có cùng dạng với pqnet_tauchohang hay ko
kiểu này chắc teamview hoặc ném project lên kiểm tra cho nó lẹ))



Có mấy cái không ổnPHP:Image.Load("batdau", "AutoPlay\\Images\\UI_GameRoom\\StartDown.tga"); play = true; -- switch to play or not map = JLR.GetText("MapList"); if map == pqnet_tauchohang then JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_0_0.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_0_0.tga", true); JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_0_1.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_0_1.tga", true); JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_0_2.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_0_2.tga", true); JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_0_3.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_0_3.tga", true); JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_1_0.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_1_0.tga", true); JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_1_1.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_1_1.tga", true); JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_1_2.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_1_2.tga", true); JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_1_3.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_1_3.tga", true); JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_2_0.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_2_0.tga", true); JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_2_1.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_2_1.tga", true); JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_2_2.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_2_2.tga", true); JLR.FileCopy("_SourceFolder..\\cstrike\\gfx\\mapinfo\\tauchohang\\800_600_2_3.tga", "_SourceFolder..\\cstrike\\resource\\background\\800_600_2_3.tga", true); end if play == true then -- -- get map name numberbot = JLR.GetText("soluongbot"); JLR.RunCSMap(VERSION_V40, map); -- play with map end
pqnet_tauchohang từ đâu ra?map == pqnet_tauchohang
Hình như phải là"_SourceFolder..\\cstrike\\
_SourceFolder.."\\cstrike\\
có thể rút gọn thànhif play == true then
if play then
JLR ơi,làm cách nào để khi tạo nick thì nó sẽ sao lưu vào 1 file tên là NICKNAME (biến tên đăng ký) vào 1 chỗ,sau đó khi cần dùng để thực hiện lệnh thì nó sẽ theo kiểu :page 1 là mới nhất rồi bợn ợ........................

amount = amount + 1;
Imagelist[1] = "AutoPlay\\Images\\1.png"
Imagelist[2] = "AutoPlay\\Images\\2.png"
Imagelist[3] = "AutoPlay\\Images\\3.png"
Imagelist[4] = "AutoPlay\\Images\\4.png"
Image.Load("Image1", Imagelist[amount]);
if amount == 4 then
amount = 0
end

mà plug hết phát triển rồi
,Mà có nick indiagorose không,cho mình mượn với :) [mượn down plugins thôi :) ]1. Về vụ nick và tiền thì em làm kiểu tạo 1 .ini lưu các thông tin về acc, 1 file lưu tiền, nhưng mà kiểu này hình như chỉ lưu được 1 nick :(JLR ơi,làm cách nào để khi tạo nick thì nó sẽ sao lưu vào 1 file tên là NICKNAME (biến tên đăng ký) vào 1 chỗ,sau đó khi cần dùng để thực hiện lệnh thì nó sẽ theo kiểu :
Money = GetTextfile (sourcefile///....NICKNAME(biến như trên)) ==>Như là theo kiểu tự nhận dạng
[ Cái này theo kiểu save thông số nhưng mình ko biết làm ở đoạn Lưu text ]
===================================================================================================
Hóng đi hóng lại cái help file nhưng vẫn không hiểu,nó ghi là nil valueMã:amount = amount + 1; Imagelist[1] = "AutoPlay\\Images\\1.png" Imagelist[2] = "AutoPlay\\Images\\2.png" Imagelist[3] = "AutoPlay\\Images\\3.png" Imagelist[4] = "AutoPlay\\Images\\4.png" Image.Load("Image1", Imagelist[amount]); if amount == 4 then amount = 0 end
Mà sao hình như add ảnh gif vào AMS nhưng nó vẫn đơ lại hay có cách nào làm ảnh động trong ams không nhỉ ?
p/S:Cái JLR.Cvar có vấn đề,chỉnh bot nhưng vẫn không cómà plug hết phát triển rồi
,Mà có nick indiagorose không,cho mình mượn với :) [mượn down plugins thôi :) ]
Bạn send dùm mình với1. Về vụ nick và tiền thì em làm kiểu tạo 1 .ini lưu các thông tin về acc, 1 file lưu tiền, nhưng mà kiểu này hình như chỉ lưu được 1 nick :(
2. Add gif thì cần có plugin đấy bác, nếu bác cần em send cho :)

1:Không hiểu luônchờ thi tốt nghiệp xong r làm ví dụ cho nó dễ hiểu. nói chay mệt mà ko hiệu quả -_-"... ôi thi thi thi...............
nói trước:
1. Xem lại biến. trong LUA mọi biến khai báo là TênBiến = GiáTrị đều là biến có thể dùng trong cả chương trình (phân biệt hoa thường, xem ví dụ nào đấy của mềnh đã có, có 2 cái, ko nhớ rõ là cái nào -_-")
2. Xài gif cho nhẹ, nhưng làm cái kiểu background của CSO thì đó là cả 1 vấn đề to -_-".. rất to...
có acc AMS Forum, nhưng ko share, có đưa 2pic t gửi lại cho. mất 4 cái acc r. còn mỗi cái này -_-"
own giúp mình cái Thumblist Plugin,thế thôiAi bảo tui không biết làm cái gì ?học ko đến nới đến chốn. nói j cũng ko biết thế này thì làm ăn j nữa.
Plugins trên dùng cho 7.5. dùng 7.5 ko mà down về làm j![]()
Chẳng qua là tui không có email theo kiểu tập đoàn,công ti chứ tui cũng mò mày,học trên 4rum của indiagorose rồi 
thế thì tới giờ mềnh vẫn dell hiểu tại sao người ta lại phải chia ra làm 2 khu vực làm j
.