pro sửa dùm cái script với
Follow us on
Follow us on Facebook Follow us on Twitter Linked In Flickr Watch us on YouTube My Space Blogger
 
Kết quả 1 đến 9 của 9
  1. #1
    Thành Viên
    Ngày tham gia
    Apr 2011
    Bài viết
    191
    Thanks
    39
    Thanked 49 Times in 21 Posts

    Icon9 pro sửa dùm cái script với

    hiện nay evjn đang cố gắng VH sv full tinh năng của King nhưng VH ít thì hok sao nhưng nếu VH toàn bộ 1 File *.lua thì bị lỗi dis GS bây giờ evjn spot lên 2 bản ( 1 bản 1 cách VH ) VH của 1 file các pác xem và chỉ chỗ sai giúp evjn nha thank nhìu
    bản 1
    Code:
    function main(sel)
    Say("小鱼: xin moi chon!", 4, "trang bi hoang kim/boss","kim nguyen bao/yuanbao1","khong can gi het/no","kinh ngiem/giveExp"); 
    
    end;
    ----------------------------------物品道具--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    function boss()
    	Say("<color=yellow>怀旧GM01<color>:<color=pink>hoan nghenh !nhan trang bi chu y khong gian trong!!!!<color>", 4,"vu khi hoang kim mon phai/getGold","trang bi hoang kim mon phai/menpai","trang bi hiem co/taozhuang","khong can gi het/no")
    end; 
    
    function getGold()
    	Say("<color=yellow>怀旧GM01<color>:<color=pink>xin chon mon phai!<color>",11,"thieu lam/shaolin12","thien vuong/tianwang12","duong mon/tangmen12","ngu doc/wudu12","nga my/emei12","thuy yen/cuiyan12","thien nhan/tianren12","cai bang/gaibang12","vo dang/wudang12","con lon/kunlun12","tro ve/main")
    end;
    
    function shaolin12()
           i=random(0,4)
           AddItem(0,0,23,10,i,99,10);
    	AddItem(0,0,24,10,i,99,10);
    	Msg2Player("你上上手,看看白金武器的感觉还好吧!!!") 
    	end;
    function tianwang12()
           i=random(0,4)
    	AddItem(0,0,20,10,i,99,10);
    	AddItem(0,0,21,10,i,99,10);
    	AddItem(0,0,22,10,i,99,10);
    	Msg2Player("你上上手,看看白金武器的感觉还好吧!!!") 
    	end;
    function tangmen12()
           i=random(0,4)
    	AddItem(0,1,6,10,i,99,10);
    	AddItem(0,1,7,10,i,99,10);
    	AddItem(0,1,8,10,i,99,10);
    	Msg2Player("你上上手,看看白金武器的感觉还好吧!!!")  
    	end;
    function wudu12()
           i=random(0,4)
    	AddItem(0,0,28,10,i,99,10);
    	Msg2Player("你上上手,看看白金武器的感觉还好吧!!!")  
    	end;
    function emei12()
           i=random(0,4)
    	AddItem(0,0,25,10,i,99,10);
    	Msg2Player("你上上手,看看白金武器的感觉还好吧!!!")  
    	end;
    function cuiyan12()
           i=random(0,4)
    	AddItem(0,0,26,10,i,99,10);
    	AddItem(0,0,27,10,0,99,10);
    	Msg2Player("你上上手,看看白金武器的感觉还好吧!!!")  
    	end;
    function tianren12()
           i=random(0,4)
    	AddItem(0,0,30,10,i,99,10);
    	Msg2Player("你上上手,看看白金武器的感觉还好吧!!!")   
    	end;
    function gaibang12()
           i=random(0,4)
    	AddItem(0,0,29,10,i,99,10);
    	Msg2Player("你上上手,看看白金武器的感觉还好吧!!!")   
    	end;
    function wudang12()
           i=random(0,4)
    	AddItem(0,0,31,10,i,99,10);
    	AddItem(0,0,32,10,i,99,10);
    	Msg2Player("你上上手,看看白金武器的感觉还好吧!!!")   
    	end;
    function kunlun12()
           i=random(0,4)
    	AddItem(0,0,33,10,i,99,10);
    	Msg2Player("你上上手,看看白金武器的感觉还好吧!!!")   
    	end;	
    
    function menpai()
    	Say("<color=yellow>怀旧GM01<color>:<color=pink>xin chon mon phai<color>",12,"thieu lam/shaolin","thien vuong/tianwang","duong mon/tangmen","ngu doc/wudu","nga my/emei","thuy yen/cuiyan","thien nhan/tianren","cai bang/gaibang","vo dang/wudang","con lon/kunlun","tro ve/main","khong can/no")
    	end;
    
    function shaolin()
    	Say("<color=yellow>怀旧GM01<color>:<color=pink>ban da chac chan chua !!!<color>",2,"chac chan!!!/shaolin1","khong/no")
    	end;
    
    function shaolin1()
            i=random(0,4)
            AddItem(0,5,9,10,i,99,10);	       --梦龙之达魔僧鞋
            AddItem(0,2,29,10,i,99,10);	--梦龙之金丝正红袈裟
            AddItem(0,8,5,10,i,99,10);   	--四空之软皮护腕
            AddItem(0,5,10,10,i,99,10);  	--伏魔之普渡僧鞋
            AddItem(0,2,30,10,i,99,10);	--伏魔之玄黄袈裟
            AddItem(0,2,31,10,i,99,10);	--四空之紫金袈裟
            AddItem(0,6,5,10,i,99,10);	       --梦龙之玄丝法带
            AddItem(0,6,6,10,i,99,10);	       --伏魔之乌金软绦
            AddItem(0,6,7,10,i,99,10);	       --四空之护法腰带
            AddItem(0,7,29,10,i,99,10);   	--梦龙之正黄僧帽
            AddItem(0,3,5,10,i,99,10);   	--四空之戒律法戒
            AddItem(0,9,3,10,i,99,10);   	--梦龙之佛法玄佩
            AddItem(0,9,4,10,i,99,10);   	--伏魔之佛心软扣
            Msg2Player("恭喜您!!!为你定做的少林黄金已经做成了!!!") 
    	end;
    
    function tianwang()
    	Say("<color=yellow>怀旧GM01<color>:<color=pink>ban da chac chan chua !!!<color>",2,"chac chan!!!/tianwang1","khong/no")
    	end;
    
    function tianwang1()
            i=random(0,4)
            AddItem(0,2,33,10,i,99,10);	--继业之玄武黄金铠
            AddItem(0,8,7,10,i,99,10); 	--继业之火云麒麟手
            AddItem(0,3,6,10,i,99,10);  	--御龙之绝命指环
            AddItem(0,5,12,10,i,99,10); 	--继业之朱雀凌云鞋
            AddItem(0,4,3,10,i,99,10); 	--御龙之战神挂坠
            AddItem(0,2,32,10,i,99,10);	--撼天之武神镶金甲
            AddItem(0,6,9,10,i,99,10);	       --继业之白虎无双扣
            AddItem(0,6,8,10,i,99,10);  	--撼天之威武束腰环
            AddItem(0,6,10,10,i,99,10); 	--御龙之天门束腰环
            AddItem(0,5,11,10,i,99,10); 	--撼天之乘龙战靴
            AddItem(0,8,6,10,i,99,10); 	--撼天之虎头紧束腕
            Msg2Player("恭喜您!!!为你定做的天王黄金已经做成了!!!") 
    	end;
    
    function tangmen()
    	Say("<color=yellow>怀旧GM01<color>:<color=pink>ban da chac chan chua !!!<color>",2,"chac chan!!!/tangmen1","khong/no")
    	end;
    
    function tangmen1()
            i=random(0,4)
            AddItem(0,2,39,10,i,99,10);	--冰寒之玄衣束甲
            AddItem(0,5,18,10,i,99,10);	--天光之地行千里靴
            AddItem(0,6,15,10,i,99,10);	 --冰寒之心箭腰扣
            AddItem(0,6,16,10,i,99,10);	--天光之森罗束腰
            AddItem(0,6,17,10,i,99,10);	--森荒之之魂咬腰束
            AddItem(0,2,40,10,i,99,10);	--森寒之金钱连环甲
            AddItem(0,5,16,10,i,99,10);	--冰寒之月影靴          
            AddItem(0,7,34,10,i,99,10);	--地魄之五行连环冠
            AddItem(0,5,17,10,i,99,10);	--森荒之星陨飞履
            AddItem(0,8,13,10,i,99,10);	--天光之风暴寒铁镯
            AddItem(0,9,8,10,i,99,10);	       --冰寒之玄天冰火佩
            AddItem(0,9,9,10,i,99,10);	       --森荒之玄铁镶玉佩
            AddItem(0,4,7,10,i,99,10); 	--天光之定心凝神符
            Msg2Player("恭喜您!!!为你定做的唐门黄金已经做成了!!!") 
    	end;
    
    function wudu()
    	Say("<color=yellow>怀旧GM01<color>:<color=pink>ban da chac chan chua !!!<color>",2,"chac chan!!!/wudu1","khong/no")
    	end;
    
    function wudu1()
            i=random(0,4)
            AddItem(0,2,38,10,i,99,10);	--冥幻之幽蛊暗衣
            AddItem(0,8,10,10,i,99,10);	--幽胧之银蟾护手
            AddItem(0,5,15,10,i,99,10);  	--冥幻之双环蛇鞋
            AddItem(0,5,14,10,i,99,10); 	--幽胧之墨蛛软履
            AddItem(0,2,37,10,i,99,10);	--幽胧之赤蝎秘装 
            AddItem(0,6,14,10,i,99,10); 	--幽胧之青蜈缠腰
            AddItem(0,8,12,10,i,99,10);	 --咒缚之穿心毒腕
            AddItem(0,8,11,10,i,99,10);	 --冥幻之腐骨护腕
            AddItem(0,7,32,10,i,99,10);	 --幽胧之金蛇发带
            AddItem(0,7,33,10,i,99,10);	 --咒缚之破甲头环
            AddItem(0,3,13,10,i,99,10);	 --冥幻之毒蝎指环
            AddItem(0,3,14,10,i,99,10);	 --咒缚之幽幻指环
            AddItem(0,4,6,10,i,99,10);	         --咒缚之灭雷颈符
            Msg2Player("恭喜您!!!为你定做的五毒黄金已经做成了!!!") 
    	end;
    
    function emei()
    	Say("<color=yellow>怀旧GM01<color>:<color=pink>ban da chac chan chua!!!<color>",2,"chac chan!!!/emei1","khong/no")
    	end;
    
    function emei1()
            i=random(0,4)
            AddItem(0,2,35,10,i,99,10);     --无魇之紫襟袈裟
            AddItem(0,8,8,10,i,99,10);	      --无间之琴韵护腕
            AddItem(0,7,30,10,i,99,10);     --无魇之摩尼冠
            AddItem(0,7,31,10,i,99,10);     --无尘之玉女素心冠
            AddItem(0,5,13,10,i,99,10);     --无魇之红缁软禢鞋
            AddItem(0,3,7,10,i,99,10);	     --无间之白玉般指
            AddItem(0,9,5,10,i,99,10);	     --无魇之洗象玉扣
            AddItem(0,2,34,10,i,99,10);     --无间清风缁衣
            AddItem(0,6,11,10,i,99,10);     --无间拂云丝带
            AddItem(0,3,8,10,i,99,10);	     --无魇之冰晶指环
            AddItem(0,3,9,10,i,99,10);	     --无尘之慈悲玉般指
            AddItem(0,3,10,10,i,99,10);     --无尘之佛光指环
            AddItem(0,9,6,10,i,99,10);	     --无尘之佛心慈佑腰佩
            AddItem(0,4,4,10,i,99,10);	     --无尘之清心向善珠
            Msg2Player("恭喜您!!!为你定做的峨嵋黄金已经做成了!!!") 
    	end;
    
    function cuiyan()
    	Say("<color=yellow>怀旧GM01<color>:<color=pink>ban da chac chan chua!!!<color>",2,"chac chan!!!/cuiyan1","khong/no")
    	end;
    
    function cuiyan1()
            i=random(0,4)
            AddItem(0,2,36,10,i,99,10);	--栖凰之慧心轻纱衣
            AddItem(0,8,9,10,i,99,10);  	--栖凰之冰踪锦腕
            AddItem(0,6,12,10,i,99,10);	 --栖凰之雪白云束带
            AddItem(0,6,13,10,i,99,10);   	--碧海之红铃金丝带
            AddItem(0,3,12,10,i,99,10);  	--碧海之纤细指环         
            AddItem(0,3,11,10,i,99,10);	 --栖凰之翠玉指环
            AddItem(0,9,7,10,i,99,10);	      --碧海之红铃波
            AddItem(0,4,5,10,i,99,10);	      --碧海之环珠雨链
            Msg2Player("恭喜您!!!为你定做的翠烟黄金已经做成了!!!") 
    	end;
    
    function tianren()
    	Say("<color=yellow>怀旧GM01<color>:<color=pink>ban da chac chan chua!!!<color>",2,"chac chan!!!/tianren1","khong/no")
    	end;
    
    function tianren1()
            i=random(0,4)
            AddItem(0,2,43,10,i,99,10);	--魔煞之残阳映血甲
            AddItem(0,8,16,10,i,99,10);	--魔煞之举火燎天腕
            AddItem(0,4,8,10,i,99,10);  	--魔煌之按出虎项圈
            AddItem(0,5,20,10,i,99,10);	--魔嗜之山海飞鸿履
            AddItem(0,6,20,10,i,99,10);	--魔煞之赤骥锁腰扣
            AddItem(0,6,21,10,i,99,10);	--魔煌之溪谷束腰扣
            AddItem(0,8,17,10,i,99,10);	--魔煌之血衣兽镯
            AddItem(0,7,35,10,i,99,10);	--魔嗜之烈焰冠冕
            AddItem(0,3,17,10,i,99,10);	--魔煞之云龙吐珠戒
            AddItem(0,3,18,10,i,99,10);	--魔嗜之业火幽冥戒
            AddItem(0,9,10,10,i,99,10);	--魔嗜之血玉七杀佩
            AddItem(0,4,9,10,i,99,10);  	--魔嗜之厉魔噬心链
            Msg2Player("恭喜您!!!为你定做的天忍黄金已经做成了!!!") 
    	end;
    
    function gaibang()
    	Say("<color=yellow>怀旧GM01<color>:<color=pink>ban da chac chan chua!!!<color>",2,"chac chan!!!/gaibang1","khong/no")
    	end;
    
    function gaibang1()
            i=random(0,4)
            AddItem(0,2,41,10,i,99,10);	--同仇之降龙丐衣
            AddItem(0,6,18,10,i,99,10);  	--同仇之仇之潜龙腰带
            AddItem(0,6,19,10,i,99,10); 	--敌忾之忾之缠莽腰带
            AddItem(0,8,14,10,i,99,10);	--同仇之亢龙护手
            AddItem(0,2,42,10,i,99,10);	--敌忾之九袋丐衣
            AddItem(0,8,15,10,i,99,10);	--敌忾之狗脊皮护腕
            AddItem(0,3,15,10,i,99,10);	--同仇之见龙扳指
            AddItem(0,3,16,10,i,99,10);	--敌忾之草间石戒
            Msg2Player("恭喜您!!!为你定做的丐帮黄金已经做成了!!!") 
    	end;
    
    function wudang()
    	Say("<color=yellow>怀旧GM01<color>:<color=pink>ban da chac chan chua!!!<color>",2,"chac chan!!!/wudang1","khong/no")
    	end;
    
    function wudang1()
            i=random(0,4)
            AddItem(0,3,19,10,i,99,10);	--凌岳之怒雷法戒
            AddItem(0,3,21,10,i,99,10);	 --及丰之清松法戒
            AddItem(0,3,20,10,i,99,10);	 --凌岳之天地玄黄戒
            AddItem(0,6,22,10,i,99,10);  	--及丰之玄丝三段锦
            AddItem(0,4,10,10,i,99,10);  	--及丰之三清符
            AddItem(0,9,12,10,i,99,10);       --及丰之翠玉玄黄佩
           AddItem(0,2,44,10,i,99,10);  	--凌岳之无我道袍
           AddItem(0,9,11,10,i,99,10);       --凌岳之无极玄玉佩
            Msg2Player("恭喜您!!!为你定做的武当黄金已经做成了!!!") 
    	end;
    
    function kunlun()
    	Say("<color=yellow>怀旧GM01<color>:<color=pink>ban da chac chan chua!!!<color>",2,"chac chan/kunlun1","khong/no")
    	end;
    
    function kunlun1()
            i=random(0,4)
            AddItem(0,2,45,10,i,99,10);	--霜晶之傲霜道袍
            AddItem(0,7,36,10,i,99,10);	--雷穹之寒松冰柏冠
            AddItem(0,8,18,10,i,99,10);	--霜晶之天清冰晶手
            AddItem(0,4,11,10,i,99,10);  	--雷穹之天地护符
            AddItem(0,5,21,10,i,99,10);	--雾幻之松风雪影靴
            AddItem(0,3,22,10,i,99,10); 	--霜晶之风暴指环
            AddItem(0,3,23,10,i,99,10); 	--雷穹之九天引雷戒
            AddItem(0,6,23,10,i,99,10);	--霜晶之清风缕带
            AddItem(0,6,24,10,i,99,10);	--雷穹之风雷青锦带
            AddItem(0,7,37,10,i,99,10);	--雾幻之北冥道冠
           AddItem(0,3,24,10,i,99,10); 	--雾幻之束心指环
           AddItem(0,9,13,10,i,99,10); 	--雷穹之灵玉蕴雷
           AddItem(0,9,14,10,i,99,10); 	--雾幻之清影玄玉佩
            Msg2Player("恭喜您!!!为你定做的昆仑黄金已经做成了!!!") 
    	end;
    
    function taozhuang()
    	Say("<color=yellow>怀旧GM01<color>:<color=pink>ban co thich trang bi hiem co!!!<color>",4,"trang bi dinh quoc/taozhuang1","trang bi an bang/taozhuang2","trang bo vo danh/taozhuang23","khong/no")
    	end;
    
    function taozhuang1()
            i=random(0,4)
            AddItem(0,2,28,10,i,99,10); 	--定国之青纱长衫
            AddItem(0,7,28,10,i,99,10);	--定国之钨砂发冠
            AddItem(0,5,8,10,i,99,10);  	--定国之赤绢软靴
            AddItem(0,8,4,10,i,99,10); 	 --定国之紫藤护腕
            AddItem(0,6,4,10,i,99,10);  	--定国之银蚕腰带
            Msg2Player("恭喜您!!!为你定做的定国黄金已经做成了!!!") 
    	end;
    
    function taozhuang2()
            i=random(0,4)
            AddItem(0,3,1,10,i,99,10); 	--安邦之菊花石指环
            AddItem(0,3,2,10,i,99,10); 	--安邦之鸡血石戒指
            AddItem(0,4,2,10,i,99,10);	       --安邦之冰晶石项链
            Msg2Player("恭喜您!!!为你定做的安邦黄金已经做成了!!!") 
    	end;
    
    
    function taozhuang23()
            i=random(0,4)
            AddItem(0,3,3,10,i,99,10); 	--雅典之魂
            AddItem(0,3,4,10,i,99,10); 	--北京之梦
            Msg2Player("恭喜您!!!为你定做的纪念戒指已经做成了!!!") 
    	end;
    
    
    
    
    
    
    
    ---------------------------------------------刷大礼包
    
    
    
    
    
    
    function yuanbao1()
    	Say("<color=yellow>GM<color>:请选择你要刷的礼物。(<color=red>ban co muon nhan knb khong!!!<color>)", 2, "co/jinyuanbao1", "khong/no");  
    end;
    
    function jinyuanbao1()
    	AddEventItem("金元宝")
    end;
    
    
    
    --------测试地图转送脚本结束----------------------------------------------
    
    function no()
    end;
    
    function giveExp()
    	for i=1,300 do AddOwnExp(50000000) end
            Msg2Player("恭喜您!获得5000W经验!")
    end;
    bản 2
    Code:
    function main(sel)
    Say("小鱼 : xin moi chon!", 5, "trang bi hoang kim/boss","dai hong bao/dalibao1","kim nguyen bao/yuanbao1","khong can gi het/no","kinh ngiem/giveExp"); 
    
    end;
    ----------------------------------物品道具--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    function boss()
    	Say("<color=yellow>Gm01<color>:<color=pink>hoan nghenh !nhan trang bi chu y khong gian trong!!!!<color>", 6,"vu khi hoang kim mon phai/getGold","trang bi hoang kim mon phai/menpai","trang bi/taozhuang","dang bi loi < khong duoc lick >/shuangm","vong sang/huanguang1","chi co nhiu do thoi ha?/no")
    end; 
    
    function getGold()
    	Say("<color=yellow>GM01<color>:<color=pink>cac ha thuoc mon phai nao !<color>",11,"thieu lam/shaolin12","thien vuong/tianwang12","duong mon/tangmen12","ngu doc/wudu12","nga my/emei12","thuy yen/cuiyan12","thien nhan/tianren12","cai bang/gaibang12","vo dang/wudang12","con lon/kunlun12","ta day chi la 1 thang ku/main")
    end;
    
    function shaolin12()
           i=random(0,4)
           AddItem(0,0,23,10,i,99,10);
    	AddItem(0,0,24,10,i,99,10);
    	Msg2Player("你上上手,看看白金武器的感觉还好吧!!!") 
    	end;
    function tianwang12()
           i=random(0,4)
    	AddItem(0,0,20,10,i,99,10);
    	AddItem(0,0,21,10,i,99,10);
    	AddItem(0,0,22,10,i,99,10);
    	Msg2Player("你上上手,看看白金武器的感觉还好吧!!!") 
    	end;
    function tangmen12()
           i=random(0,4)
    	AddItem(0,1,6,10,i,99,10);
    	AddItem(0,1,7,10,i,99,10);
    	AddItem(0,1,8,10,i,99,10);
    	Msg2Player("你上上手,看看白金武器的感觉还好吧!!!")  
    	end;
    function wudu12()
           i=random(0,4)
    	AddItem(0,0,28,10,i,99,10);
    	Msg2Player("你上上手,看看白金武器的感觉还好吧!!!")  
    	end;
    function emei12()
           i=random(0,4)
    	AddItem(0,0,25,10,i,99,10);
    	Msg2Player("你上上手,看看白金武器的感觉还好吧!!!")  
    	end;
    function cuiyan12()
           i=random(0,4)
    	AddItem(0,0,26,10,i,99,10);
    	AddItem(0,0,27,10,0,99,10);
    	Msg2Player("你上上手,看看白金武器的感觉还好吧!!!")  
    	end;
    function tianren12()
           i=random(0,4)
    	AddItem(0,0,30,10,i,99,10);
    	Msg2Player("你上上手,看看白金武器的感觉还好吧!!!")   
    	end;
    function gaibang12()
           i=random(0,4)
    	AddItem(0,0,29,10,i,99,10);
    	Msg2Player("你上上手,看看白金武器的感觉还好吧!!!")   
    	end;
    function wudang12()
           i=random(0,4)
    	AddItem(0,0,31,10,i,99,10);
    	AddItem(0,0,32,10,i,99,10);
    	Msg2Player("你上上手,看看白金武器的感觉还好吧!!!")   
    	end;
    function kunlun12()
           i=random(0,4)
    	AddItem(0,0,33,10,i,99,10);
    	Msg2Player("你上上手,看看白金武器的感觉还好吧!!!!")   
    	end;	
    
    function menpai()
    	Say("<color=yellow>GM01<color>:<color=pink>cac ha thuoc mon phai nao !<color>",11,"thieu lam/shaolin12","thien vuong/tianwang12","duong mon/tangmen12","ngu doc/wudu12","nga my/emei12","thuy yen/cuiyan12","thien nhan/tianren12","cai bang/gaibang12","vo dang/wudang12","con lon/kunlun12","ta day chi la 1 thang ku/main/no")
    	end;
    
    function shaolin()
    	Say("<color=yellow>GM01<color>:<color=pink>muon nhan trang bi thieu lam!!!<color>",2,"ta la de tu thieu lam!!!/shaolin1","khong co ji/no")
    	end;
    
    function shaolin1()
            i=random(0,4)
            AddItem(0,5,9,10,i,99,10);	       --梦龙之达魔僧鞋
            AddItem(0,2,29,10,i,99,10);	--梦龙之金丝正红袈裟
            AddItem(0,8,5,10,i,99,10);   	--四空之软皮护腕
            AddItem(0,5,10,10,i,99,10);  	--伏魔之普渡僧鞋
            AddItem(0,2,30,10,i,99,10);	--伏魔之玄黄袈裟
            AddItem(0,2,31,10,i,99,10);	--四空之紫金袈裟
            AddItem(0,6,5,10,i,99,10);	       --梦龙之玄丝法带
            AddItem(0,6,6,10,i,99,10);	       --伏魔之乌金软绦
            AddItem(0,6,7,10,i,99,10);	       --四空之护法腰带
            AddItem(0,7,29,10,i,99,10);   	--梦龙之正黄僧帽
            AddItem(0,3,5,10,i,99,10);   	--四空之戒律法戒
            AddItem(0,9,3,10,i,99,10);   	--梦龙之佛法玄佩
            AddItem(0,9,4,10,i,99,10);   	--伏魔之佛心软扣
            Msg2Player("恭喜您!!!为你定做的少林黄金已经做成了!!!") 
    	end;
    
    function tianwang()
    	Say("<color=yellow>GM01<color>:<color=pink>muon nhan trang bi thien vuong!!!<color>",2,"ta la de tu thien vuong!!!/tianwang1","lon dia chi roi ku/no")
    	end;
    
    function tianwang1()
            i=random(0,4)
            AddItem(0,2,33,10,i,99,10);	--继业之玄武黄金铠
            AddItem(0,8,7,10,i,99,10); 	--继业之火云麒麟手
            AddItem(0,3,6,10,i,99,10);  	--御龙之绝命指环
            AddItem(0,5,12,10,i,99,10); 	--继业之朱雀凌云鞋
            AddItem(0,4,3,10,i,99,10); 	--御龙之战神挂坠
            AddItem(0,2,32,10,i,99,10);	--撼天之武神镶金甲
            AddItem(0,6,9,10,i,99,10);	       --继业之白虎无双扣
            AddItem(0,6,8,10,i,99,10);  	--撼天之威武束腰环
            AddItem(0,6,10,10,i,99,10); 	--御龙之天门束腰环
            AddItem(0,5,11,10,i,99,10); 	--撼天之乘龙战靴
            AddItem(0,8,6,10,i,99,10); 	--撼天之虎头紧束腕
            Msg2Player("恭喜您!!!为你定做的天王黄金已经做成了!!!") 
    	end;
    
    function tangmen()
    	Say("<color=yellow>GM01<color>:<color=pink>muon nhan trang bi duong mon!!!<color>",2,"chinh xac , ta la Duong Phen day , hahah!!!/tangmen1","nham roi/no")
    	end;
    
    function tangmen1()
            i=random(0,4)
            AddItem(0,2,39,10,i,99,10);	--冰寒之玄衣束甲
            AddItem(0,5,18,10,i,99,10);	--天光之地行千里靴
            AddItem(0,6,15,10,i,99,10);	 --冰寒之心箭腰扣
            AddItem(0,6,16,10,i,99,10);	--天光之森罗束腰
            AddItem(0,6,17,10,i,99,10);	--森荒之之魂咬腰束
            AddItem(0,2,40,10,i,99,10);	--森寒之金钱连环甲
            AddItem(0,5,16,10,i,99,10);	--冰寒之月影靴          
            AddItem(0,7,34,10,i,99,10);	--地魄之五行连环冠
            AddItem(0,5,17,10,i,99,10);	--森荒之星陨飞履
            AddItem(0,8,13,10,i,99,10);	--天光之风暴寒铁镯
            AddItem(0,9,8,10,i,99,10);	       --冰寒之玄天冰火佩
            AddItem(0,9,9,10,i,99,10);	       --森荒之玄铁镶玉佩
            AddItem(0,4,7,10,i,99,10); 	--天光之定心凝神符
            Msg2Player("恭喜您!!!为你定做的唐门黄金已经做成了!!!") 
    	end;
    
    function wudu()
    	Say("<color=yellow>怀旧GM01<color>:<color=pink>muon nhan trang bi ngu doc giao !!!<color>",2,"5 doc mieng thui chinh la ta khakhakha!!!/wudu1","may noi ai mieng thui/no")
    	end;
    
    function wudu1()
            i=random(0,4)
            AddItem(0,2,38,10,i,99,10);	--冥幻之幽蛊暗衣
            AddItem(0,8,10,10,i,99,10);	--幽胧之银蟾护手
            AddItem(0,5,15,10,i,99,10);  	--冥幻之双环蛇鞋
            AddItem(0,5,14,10,i,99,10); 	--幽胧之墨蛛软履
            AddItem(0,2,37,10,i,99,10);	--幽胧之赤蝎秘装 
            AddItem(0,6,14,10,i,99,10); 	--幽胧之青蜈缠腰
            AddItem(0,8,12,10,i,99,10);	 --咒缚之穿心毒腕
            AddItem(0,8,11,10,i,99,10);	 --冥幻之腐骨护腕
            AddItem(0,7,32,10,i,99,10);	 --幽胧之金蛇发带
            AddItem(0,7,33,10,i,99,10);	 --咒缚之破甲头环
            AddItem(0,3,13,10,i,99,10);	 --冥幻之毒蝎指环
            AddItem(0,3,14,10,i,99,10);	 --咒缚之幽幻指环
            AddItem(0,4,6,10,i,99,10);	         --咒缚之灭雷颈符
            Msg2Player("恭喜您!!!为你定做的五毒黄金已经做成了!!!") 
    	end;
    
    function emei()
    	Say("<color=yellow>怀旧GM01<color>:<color=pink>muon nhan trang bi nga my!!!<color>",2,"ta la de tu nga my day!!!/emei1","nham roi/no")
    	end;
    
    function emei1()
            i=random(0,4)
            AddItem(0,2,35,10,i,99,10);     --无魇之紫襟袈裟
            AddItem(0,8,8,10,i,99,10);	      --无间之琴韵护腕
            AddItem(0,7,30,10,i,99,10);     --无魇之摩尼冠
            AddItem(0,7,31,10,i,99,10);     --无尘之玉女素心冠
            AddItem(0,5,13,10,i,99,10);     --无魇之红缁软禢鞋
            AddItem(0,3,7,10,i,99,10);	     --无间之白玉般指
            AddItem(0,9,5,10,i,99,10);	     --无魇之洗象玉扣
            AddItem(0,2,34,10,i,99,10);     --无间清风缁衣
            AddItem(0,6,11,10,i,99,10);     --无间拂云丝带
            AddItem(0,3,8,10,i,99,10);	     --无魇之冰晶指环
            AddItem(0,3,9,10,i,99,10);	     --无尘之慈悲玉般指
            AddItem(0,3,10,10,i,99,10);     --无尘之佛光指环
            AddItem(0,9,6,10,i,99,10);	     --无尘之佛心慈佑腰佩
            AddItem(0,4,4,10,i,99,10);	     --无尘之清心向善珠
            Msg2Player("恭喜您!!!为你定做的峨嵋黄金已经做成了!!!") 
    	end;
    
    function cuiyan()
    	Say("<color=yellow>怀旧GM01<color>:<color=pink>muon nhan trang bi thuy yen  !!!<color>",2,"ta la thuy yen  day!!!/cuiyan1","sai roi/no")
    	end;
    
    function cuiyan1()
            i=random(0,4)
            AddItem(0,2,36,10,i,99,10);	--栖凰之慧心轻纱衣
            AddItem(0,8,9,10,i,99,10);  	--栖凰之冰踪锦腕
            AddItem(0,6,12,10,i,99,10);	 --栖凰之雪白云束带
            AddItem(0,6,13,10,i,99,10);   	--碧海之红铃金丝带
            AddItem(0,3,12,10,i,99,10);  	--碧海之纤细指环         
            AddItem(0,3,11,10,i,99,10);	 --栖凰之翠玉指环
            AddItem(0,9,7,10,i,99,10);	      --碧海之红铃波
            AddItem(0,4,5,10,i,99,10);	      --碧海之环珠雨链
            Msg2Player("恭喜您!!!为你定做的翠烟黄金已经做成了!!!") 
    	end;
    
    function tianren()
    	Say("<color=yellow>GM01<color>:<color=pink>muon nhan trang bi thien nha <color>",2,"ta la thien nhan !!!/tianren1","khong @@/no")
    	end;
    
    function tianren1()
            i=random(0,4)
            AddItem(0,2,43,10,i,99,10);	--魔煞之残阳映血甲
            AddItem(0,8,16,10,i,99,10);	--魔煞之举火燎天腕
            AddItem(0,4,8,10,i,99,10);  	--魔煌之按出虎项圈
            AddItem(0,5,20,10,i,99,10);	--魔嗜之山海飞鸿履
            AddItem(0,6,20,10,i,99,10);	--魔煞之赤骥锁腰扣
            AddItem(0,6,21,10,i,99,10);	--魔煌之溪谷束腰扣
            AddItem(0,8,17,10,i,99,10);	--魔煌之血衣兽镯
            AddItem(0,7,35,10,i,99,10);	--魔嗜之烈焰冠冕
            AddItem(0,3,17,10,i,99,10);	--魔煞之云龙吐珠戒
            AddItem(0,3,18,10,i,99,10);	--魔嗜之业火幽冥戒
            AddItem(0,9,10,10,i,99,10);	--魔嗜之血玉七杀佩
            AddItem(0,4,9,10,i,99,10);  	--魔嗜之厉魔噬心链
            Msg2Player("恭喜您!!!为你定做的天忍黄金已经做成了!!!") 
    	end;
    
    function gaibang()
    	Say("<color=yellow>GM01<color>:<color=pink>muon nhan trang bi cai bang !!!<color>",2,"dung vay!!!/gaibang1","sai roi/no")
    	end;
    
    function gaibang1()
            i=random(0,4)
            AddItem(0,2,41,10,i,99,10);	--同仇之降龙丐衣
            AddItem(0,6,18,10,i,99,10);  	--同仇之仇之潜龙腰带
            AddItem(0,6,19,10,i,99,10); 	--敌忾之忾之缠莽腰带
            AddItem(0,8,14,10,i,99,10);	--同仇之亢龙护手
            AddItem(0,2,42,10,i,99,10);	--敌忾之九袋丐衣
            AddItem(0,8,15,10,i,99,10);	--敌忾之狗脊皮护腕
            AddItem(0,3,15,10,i,99,10);	--同仇之见龙扳指
            AddItem(0,3,16,10,i,99,10);	--敌忾之草间石戒
            Msg2Player("恭喜您!!!为你定做的丐帮黄金已经做成了!!!") 
    	end;
    
    function wudang()
    	Say("<color=yellow>GM01<color>:<color=pink>muon nhan trang bi vo dang ha!!! <color>",2,"ban dao la de tu vo dang!!!/wudang1","ta ghet nhat bon dao si thui/no")
    	end;
    
    function wudang1()
            i=random(0,4)
            AddItem(0,3,19,10,i,99,10);	--凌岳之怒雷法戒
            AddItem(0,3,21,10,i,99,10);	 --及丰之清松法戒
            AddItem(0,3,20,10,i,99,10);	 --凌岳之天地玄黄戒
            AddItem(0,6,22,10,i,99,10);  	--及丰之玄丝三段锦
            AddItem(0,4,10,10,i,99,10);  	--及丰之三清符
            AddItem(0,9,12,10,i,99,10);       --及丰之翠玉玄黄佩
           AddItem(0,2,44,10,i,99,10);  	--凌岳之无我道袍
           AddItem(0,9,11,10,i,99,10);       --凌岳之无极玄玉佩
            Msg2Player("恭喜您!!!为你定做的武当黄金已经做成了!!!") 
    	end;
    
    function kunlun()
    	Say("<color=yellow>GM01<color>:<color=pink>muon nhan trang bi con lon h!!!<color>",2,"dung vay/kunlun1","ta ghet nhat bon dao si thui/no")
    	end;
    
    function kunlun1()
            i=random(0,4)
            AddItem(0,2,45,10,i,99,10);	--霜晶之傲霜道袍
            AddItem(0,7,36,10,i,99,10);	--雷穹之寒松冰柏冠
            AddItem(0,8,18,10,i,99,10);	--霜晶之天清冰晶手
            AddItem(0,4,11,10,i,99,10);  	--雷穹之天地护符
            AddItem(0,5,21,10,i,99,10);	--雾幻之松风雪影靴
            AddItem(0,3,22,10,i,99,10); 	--霜晶之风暴指环
            AddItem(0,3,23,10,i,99,10); 	--雷穹之九天引雷戒
            AddItem(0,6,23,10,i,99,10);	--霜晶之清风缕带
            AddItem(0,6,24,10,i,99,10);	--雷穹之风雷青锦带
            AddItem(0,7,37,10,i,99,10);	--雾幻之北冥道冠
           AddItem(0,3,24,10,i,99,10); 	--雾幻之束心指环
           AddItem(0,9,13,10,i,99,10); 	--雷穹之灵玉蕴雷
           AddItem(0,9,14,10,i,99,10); 	--雾幻之清影玄玉佩
            Msg2Player("恭喜您!!!为你定做的昆仑黄金已经做成了!!!") 
    	end;
    
    function taozhuang()
    	Say("<color=yellow>GM01<color>:<color=pink>dai ka thich hang hiem khong  o day cai gi em cung co!!!<color>",4,"bo dinh quoc/taozhuang1","bo an bang/taozhuang2","vo danh gioi chi/taozhuang23","ta khong can/no")
    	end;
    
    function taozhuang1()
            i=random(0,4)
            AddItem(0,2,28,10,i,99,10); 	--定国之青纱长衫
            AddItem(0,7,28,10,i,99,10);	--定国之钨砂发冠
            AddItem(0,5,8,10,i,99,10);  	--定国之赤绢软靴
            AddItem(0,8,4,10,i,99,10); 	 --定国之紫藤护腕
            AddItem(0,6,4,10,i,99,10);  	--定国之银蚕腰带
            Msg2Player("恭喜您!!!为你定做的定国黄金已经做成了!!!") 
    	end;
    
    function taozhuang2()
            i=random(0,4)
            AddItem(0,3,1,10,i,99,10); 	--安邦之菊花石指环
            AddItem(0,3,2,10,i,99,10); 	--安邦之鸡血石戒指
            AddItem(0,4,2,10,i,99,10);	       --安邦之冰晶石项链
            Msg2Player("恭喜您!!!为你定做的安邦黄金已经做成了!!!") 
    	end;
    
    
    function taozhuang23()
            i=random(0,4)
            AddItem(0,3,3,10,i,99,10); 	--雅典之魂
            AddItem(0,3,4,10,i,99,10); 	--北京之梦
            Msg2Player("恭喜您!!!为你定做的纪念戒指已经做成了!!!") 
    	end;
    
    function shuangm()
            i=random(0,4)
            AddItem(0,3,26,10,i,99,10);	--九阳绝对攻击指环
            AddItem(0,3,25,10,i,99,10);	--九阴绝对防御戒指
            Msg2Player("恭喜您!!!为你定做的GM黄金已经做成了!!!") 
    	end;
    
    
    function huanguang1()
    		AddMagic(348)
    		AddMagic(358)
    		AddMagic(359)
    		AddMagic(360)
    		AddMagic(361)
    		AddMagic(362)
    		AddMagic(363)
    		AddMagic(364)
    		AddMagic(365)
    		AddMagic(366)
    		AddMagic(367)
    		AddMagic(368)
     		Talk(1,"","钱庄老板:恭喜你!获得光环一套。")
    end;
    
    
    ---------------------------------------------刷大礼包
    
    
    function dalibao1()
    	Say("<color=yellow>GM<color>:。(<color=red>xin dai ka chon vat pham !!!<color>)", 7, "cho ta 1 than bi hong bao/shualibao1", "cho ta 1 tiet nhat le bao/shualibao2", "cho ta 1 than ma le bao/shualibao3", "cho ta 1 bao li xi mon phai/shualibao4", "cho ta 1 vo lam minh chu hong bao/shualibao5", "cho ta do pho hoang kim/shualibao6", "thoi cam on nhiu/no");  
    end;
    
    
    function shualibao1()
    	AddEventItem("神秘大礼包")
    end;
    
    function shualibao2()
    	AddEventItem("节日狂欢大礼包")
    end;
    
    function shualibao3()
    	AddEventItem("神马浮云大礼包")
    end;
    
    function shualibao4()
    	AddEventItem("掌门人大礼包")
    end;
    
    function shualibao5()
    	AddEventItem("武林盟主大礼包")
    end;
    
    function shualibao6()
    	AddEventItem("黄金兵器谱")
    end;
    
    
    function yuanbao1()
    	Say("<color=yellow>GM<color>:。(<color=red>dai ka thich kim nguyen bao khong !!!<color>)", 2, "cho ta 1 kim nguyen bao/jinyuanbao1", "ta co nhieu kim nguyen bao lam roi/no");  
    end;
    
    function jinyuanbao1()
    	AddEventItem("金元宝")
    end;
    
    
    
    --------测试地图转送脚本结束----------------------------------------------
    
    function no()
    end;
    
    function giveExp()
    	for i=1,300 do AddOwnExp(50000000) end
            Msg2Player("恭喜您!获得5000W经验")
    end;
    ai rãnh thì xem dùm nha thank nhìu
    Khách viếng thăm hãy cùng evjnshiva xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  2. #2
    Thành Viên
    Ngày tham gia
    Mar 2010
    Bài viết
    430
    Thanks
    30
    Thanked 182 Times in 81 Posts

    Ðề: pro sửa dùm cái script với

    -------------------------------------------------------------
    --------------Chuc Nang GM--------------------------------
    -----------------------------------------------------
    Include("\\Script\\GM.lua")


    CoLaoThai = {
    {"<color=cyan>Co Lao Thai:<color> Muon gi vay GM?"},
    {"Hoc skill ho tro/hoc"},
    {"Lay vu khi cac mon phai/vkmp"},
    {"Lay do tu do/cnge"},
    {"Thoat/no"}
    }

    CoLaoThai1 = {
    {"<color=cyan>Co Lao Thai:<color> nguoi muon lay vu khi nao?"},
    {"Thieu Lam/tl"},
    {"Thien Vuong/tv"},
    {"Duong Mon/dm"},
    {"Ngu Doc/nd"},
    {"Nga My/nm"},
    {"Thuy Yen/ty"},
    {"Cai Bang/cb"},
    {"Thien Nhan/tn"},
    {"Vo Dang/vd"},
    {"Con Lon/cl"},
    {"Tro lai/main"},
    {"Thoat/no"}
    }

    CoLaoThai2 = {
    {"<color=cyan>Co Lao Thai:<color> nguoi muon lay trang bi cua phai nao?"},
    {"Thieu Lam/tl1"},
    {"Thien Vuong/tv1"},
    {"Duong Mon/dm1"},
    {"Ngu Doc/nd1"},
    {"Nga My/nm1"},
    {"Thuy Yen/ty1"},
    {"Cai Bang/cb1"},
    {"Thien Nhan/tn1"},
    {"Vo Dang/vd1"},
    {"Con Lon/cl1"},
    {"Tro lai/main"},
    {"Thoat/no"}
    }



    function main()
    Say(CoLaoThai[1][1],5,CoLaoThai[2][1],CoLaoThai[3][1],CoLaoThai[4][1],CoLaoThai[5][1],CoLaoThai[6][1])
    end

    function no()
    end

    ---------------Hoc skill ho tro-----------------------
    function hoc()
    AddMagic(350)
    Msg2Player("Ban nhan duoc skill ho tro")
    end

    -------------Vu Khi Cua Thap Dai Phai---------------------

    function vkmp()
    Say(CoLaoThai1[1][1],12,CoLaoThai1[2][1],CoLaoThai1[3][1],CoLaoThai1[4][1],CoLaoThai1[5][1],CoLaoThai1[6][1],CoLaoThai1[7][1],CoLaoThai1[8][1],CoLaoThai1[9][1],CoLaoThai1[10][1],CoLaoThai1[11][1],CoLaoThai1[12][1],CoLaoThai1[13][1])
    end

    function tl()
    j=random(0,4)
    AddItem(0,0,4,69,j,1000,10,10,10,10,10,10)
    AddItem(0,0,3,69,j,1000,10,10,10,10,10,10)
    Msg2Player("Ban nhan duoc vu khi hoang kim mon phai Thieu Lam")
    end

    function tv()
    j=random(0,4)

    AddItem(0,0,0,69,j,1000,10,10,10,10,10,10)
    AddItem(0,0,1,69,j,1000,10,10,10,10,10,10)
    AddItem(0,0,2,69,j,1000,10,10,10,10,10,10)
    Msg2Player("Ban nhan duoc vu khi hoang kim mon phai Thien Vuong")
    end

    function dm()
    j=random(0,4)
    AddItem(0,1,0,39,j,1000,10,10,10,10,10,10)
    AddItem(0,1,1,39,j,1000,10,10,10,10,10,10)
    AddItem(0,1,2,39,j,1000,10,10,10,10,10,10)
    Msg2Player("Ban nhan duoc vu khi hoang kim mon phai Duong Mon")
    end

    function nd()
    j=random(0,4)
    AddItem(0,0,2,129,j,1000,10,10,10,10,10,10)
    Msg2Player("Ban nhan duoc vu khi hoang kim mon phai Ngu Doc")
    end

    function nm()
    j=random(0,4)
    AddItem(0,0,5,69,j,1000,10,10,10,10,10,10)
    Msg2Player("Ban nhan duoc vu khi hoang kim mon phai Nga My")

    end;

    function ty()
    j=random(0,4)
    AddItem(0,0,1,129,j,1000,10,10,10,10,10,10)
    AddItem(0,0,0,129,j,1000,10,10,10,10,10,10)
    Msg2Player("Ban nhan duoc vu khi hoang kim phai Thuy Yen")
    end;

    function cb()
    j=random(0,4)
    AddItem(0,0,3,129,j,1000,10,10,10,10,10,10)
    Msg2Player("Ban nhan duoc vu khi hoang kim mon phai Cai Bang")
    end;

    function tn()
    j=random(0,4)
    AddItem(0,0,4,129,j,1000,10,10,10,10,10,10)
    Msg2Player("Ban nhan duoc vu khi hoang kim phai Thien Nhan")
    end;

    function vd()
    j=random(0,4)
    AddItem(0,0,2,189,j,1000,10,10,10,10,10,10)
    AddItem(0,0,5,129,j,1000,10,10,10,10,10,10)
    Msg2Player("Ban nhan duoc vu khi cua mon phai Vo Dang")
    end;

    function cl()
    j=random(0,4)
    AddItem(0,0,1,189,j,1000,10,10,10,10,10,10)
    Msg2Player("Ban nhan duoc vu khi cua mon phai Con Lon")
    end;

    -------------------Trang Bi Thap Dai Phai------------------

    function dmp()
    Say(CoLaoThai2[1][1],12,CoLaoThai2[2][1],CoLaoThai2[3][1],CoLaoThai2[4][1],CoLaoThai2[5][1],CoLaoThai2[6][1],CoLaoThai2[7][1],CoLaoThai2[8][1],CoLaoThai2[9][1],CoLaoThai2[10][1],CoLaoThai2[11][1],CoLaoThai2[12][1],CoLaoThai2[13][1])
    end



    ----------------Chuc Nang Voi Gamer-------------
    z = random(0,4)

    function cnge()
    Say("Nha nguoi mun lay gi?,10,
    "Nhan Cap/cap",
    "Day Chuyen/daychuyen",
    "Ao/ao",
    "Dai Lung/dailung",
    "Giay/giay",
    "Bao Tay/baotay",
    "Non/non",
    "Ngoc Boi/ngocboi",
    "Nhan/nhan",
    "Thoat/no")
    end

    function cap()
    for i=1,300 do AddOwnExp(50000000) end
    Msg2Player("Ban nhan duoc kinh nghiem")
    end;




    function nhan()
    z = random(0,4)
    AddItem(0,3,1,10,z,1000,10,10,10,10,10,10)
    AddItem(0,3,2,10,z,1000,10,10,10,10,10,10)
    AddItem(0,3,3,10,z,1000,10,10,10,10,10,10)
    AddItem(0,3,4,10,z,1000,10,10,10,10,10,10)
    AddItem(0,3,5,10,z,1000,10,10,10,10,10,10)
    AddItem(0,3,6,10,z,1000,10,10,10,10,10,10)
    AddItem(0,3,7,10,z,1000,10,10,10,10,10,10)
    AddItem(0,3,8,10,z,1000,10,10,10,10,10,10)
    AddItem(0,3,9,10,z,1000,10,10,10,10,10,10)
    AddItem(0,3,10,10,z,1000,10,10,10,10,10,10)
    AddItem(0,3,11,10,z,1000,10,10,10,10,10,10)
    AddItem(0,3,12,10,z,1000,10,10,10,10,10,10)
    AddItem(0,3,13,10,z,1000,10,10,10,10,10,10)
    AddItem(0,3,14,10,z,1000,10,10,10,10,10,10)
    AddItem(0,3,15,10,z,1000,10,10,10,10,10,10)
    AddItem(0,3,16,10,z,1000,10,10,10,10,10,10)
    AddItem(0,3,17,10,z,1000,10,10,10,10,10,10)
    AddItem(0,3,18,10,z,1000,10,10,10,10,10,10)
    AddItem(0,3,19,10,z,1000,10,10,10,10,10,10)
    AddItem(0,3,20,10,z,1000,10,10,10,10,10,10)
    AddItem(0,3,21,10,z,1000,10,10,10,10,10,10)
    AddItem(0,3,22,10,z,1000,10,10,10,10,10,10)
    AddItem(0,3,23,10,z,1000,10,10,10,10,10,10)
    AddItem(0,3,24,10,z,1000,10,10,10,10,10,10)

    Msg2Player("Ban nhan duoc 1 bo full Nhan")
    end

    function ngocboi()
    z = random(0,4)
    AddItem(0,9,1,10,z,1000,10,10,10,10,10,10)
    AddItem(0,9,2,10,z,1000,10,10,10,10,10,10)
    AddItem(0,9,3,10,z,1000,10,10,10,10,10,10)
    AddItem(0,9,4,10,z,1000,10,10,10,10,10,10)
    AddItem(0,9,5,10,z,1000,10,10,10,10,10,10)
    AddItem(0,9,6,10,z,1000,10,10,10,10,10,10)
    AddItem(0,9,7,10,z,1000,10,10,10,10,10,10)
    AddItem(0,9,8,10,z,1000,10,10,10,10,10,10)
    AddItem(0,9,9,10,z,1000,10,10,10,10,10,10)
    AddItem(0,9,10,10,z,1000,10,10,10,10,10,10)
    AddItem(0,9,11,10,z,1000,10,10,10,10,10,10)
    AddItem(0,9,12,10,z,1000,10,10,10,10,10,10)
    AddItem(0,9,13,10,z,1000,10,10,10,10,10,10)
    AddItem(0,9,14,10,z,1000,10,10,10,10,10,10)
    Msg2Player("Ban nhan duoc 1 bo full ngoc boi")
    end



    function non()
    AddItem(0,7,28,10,z,1000,10,10,10,10,10,10)
    AddItem(0,7,29,10,z,1000,10,10,10,10,10,10)
    AddItem(0,7,30,10,z,1000,10,10,10,10,10,10)
    AddItem(0,7,31,10,z,1000,10,10,10,10,10,10)
    AddItem(0,7,32,10,z,1000,10,10,10,10,10,10)
    AddItem(0,7,33,10,z,1000,10,10,10,10,10,10)
    AddItem(0,7,34,10,z,1000,10,10,10,10,10,10)
    AddItem(0,7,35,10,z,1000,10,10,10,10,10,10)
    AddItem(0,7,36,10,z,1000,10,10,10,10,10,10)
    AddItem(0,7,37,10,z,1000,10,10,10,10,10,10)
    Msg2Player("Ban nhan duoc full bo Non cac loai")
    end


    function baotay()
    z = random(0,4)
    AddItem(0,8,4,10,z,1000,10,10,10,10,10,10)
    AddItem(0,8,5,10,z,1000,10,10,10,10,10,10)
    AddItem(0,8,6,10,z,1000,10,10,10,10,10,10)
    AddItem(0,8,7,10,z,1000,10,10,10,10,10,10)
    AddItem(0,8,8,10,z,1000,10,10,10,10,10,10)
    AddItem(0,8,9,10,z,1000,10,10,10,10,10,10)
    AddItem(0,8,10,10,z,1000,10,10,10,10,10,10)
    AddItem(0,8,11,10,z,1000,10,10,10,10,10,10)
    AddItem(0,8,12,10,z,1000,10,10,10,10,10,10)
    AddItem(0,8,13,10,z,1000,10,10,10,10,10,10)
    AddItem(0,8,14,10,z,1000,10,10,10,10,10,10)
    AddItem(0,8,15,10,z,1000,10,10,10,10,10,10)
    AddItem(0,8,16,10,z,1000,10,10,10,10,10,10)
    AddItem(0,8,17,10,z,1000,10,10,10,10,10,10)
    AddItem(0,8,18,10,z,1000,10,10,10,10,10,10)
    Msg2Player("Ban nhan duoc 1 bo full Bao Tay")
    end


    function giay()
    z = random(0,4)
    AddItem(0,5,8,10,z,1000,10,10,10,10,10,10)
    AddItem(0,5,9,10,z,1000,10,10,10,10,10,10)
    AddItem(0,5,10,10,z,1000,10,10,10,10,10,10)
    AddItem(0,5,11,10,z,1000,10,10,10,10,10,10)
    AddItem(0,5,12,10,z,1000,10,10,10,10,10,10)
    AddItem(0,5,13,10,z,1000,10,10,10,10,10,10)
    AddItem(0,5,14,10,z,1000,10,10,10,10,10,10)
    AddItem(0,5,15,10,z,1000,10,10,10,10,10,10)
    AddItem(0,5,16,10,z,1000,10,10,10,10,10,10)
    AddItem(0,5,17,10,z,1000,10,10,10,10,10,10)
    AddItem(0,5,18,10,z,1000,10,10,10,10,10,10)
    AddItem(0,5,19,10,z,1000,10,10,10,10,10,10)
    AddItem(0,5,20,10,z,1000,10,10,10,10,10,10)
    AddItem(0,5,21,10,z,1000,10,10,10,10,10,10)
    Msg2Player("Ban nhan duoc 1 bo full Giay")
    end


    function dailung()
    z = random(0,4)
    AddItem(0,6,4,10,z,1000,10,10,10,10,10,10)
    AddItem(0,6,5,10,z,1000,10,10,10,10,10,10)
    AddItem(0,6,6,10,z,1000,10,10,10,10,10,10)
    AddItem(0,6,7,10,z,1000,10,10,10,10,10,10)
    AddItem(0,6,8,10,z,1000,10,10,10,10,10,10)
    AddItem(0,6,9,10,z,1000,10,10,10,10,10,10)
    AddItem(0,6,10,10,z,1000,10,10,10,10,10,10)
    AddItem(0,6,11,10,z,1000,10,10,10,10,10,10)
    AddItem(0,6,12,10,z,1000,10,10,10,10,10,10)
    AddItem(0,6,13,10,z,1000,10,10,10,10,10,10)
    AddItem(0,6,14,10,z,1000,10,10,10,10,10,10)
    AddItem(0,6,15,10,z,1000,10,10,10,10,10,10)
    AddItem(0,6,16,10,z,1000,10,10,10,10,10,10)
    AddItem(0,6,17,10,z,1000,10,10,10,10,10,10)
    AddItem(0,6,18,10,z,1000,10,10,10,10,10,10)
    AddItem(0,6,19,10,z,1000,10,10,10,10,10,10)
    AddItem(0,6,20,10,z,1000,10,10,10,10,10,10)
    AddItem(0,6,21,10,z,1000,10,10,10,10,10,10)
    AddItem(0,6,22,10,z,1000,10,10,10,10,10,10)
    AddItem(0,6,23,10,z,1000,10,10,10,10,10,10)
    AddItem(0,6,24,10,z,1000,10,10,10,10,10,10)
    Msg2Player("Ban nhan duoc 1 bo full dai lung")
    end

    function ao()
    z = random(0,4)

    AddItem(0,2,28,10,z,1000,10,10,10,10,10,10)
    AddItem(0,2,29,10,z,1000,10,10,10,10,10,10)
    AddItem(0,2,30,10,z,1000,10,10,10,10,10,10)
    AddItem(0,2,31,10,z,1000,10,10,10,10,10,10)
    AddItem(0,2,32,10,z,1000,10,10,10,10,10,10)
    AddItem(0,2,33,10,z,1000,10,10,10,10,10,10)
    AddItem(0,2,34,10,z,1000,10,10,10,10,10,10)
    AddItem(0,2,35,10,z,1000,10,10,10,10,10,10)
    AddItem(0,2,36,10,z,1000,10,10,10,10,10,10)
    AddItem(0,2,37,10,z,1000,10,10,10,10,10,10)
    AddItem(0,2,38,10,z,1000,10,10,10,10,10,10)
    AddItem(0,2,39,10,z,1000,10,10,10,10,10,10)
    AddItem(0,2,40,10,z,1000,10,10,10,10,10,10)
    AddItem(0,2,41,10,z,1000,10,10,10,10,10,10)
    AddItem(0,2,42,10,z,1000,10,10,10,10,10,10)
    AddItem(0,2,43,10,z,1000,10,10,10,10,10,10)
    AddItem(0,2,44,10,z,1000,10,10,10,10,10,10)
    AddItem(0,2,45,10,z,1000,10,10,10,10,10,10)

    Msg2Player("Ban nhan duoc full bo day ao cac loai")
    end


    function daychuyen()
    z = random(0,4)

    AddItem(0,4,2,10,z,1000,10,10,10,10,10,10)
    AddItem(0,4,3,10,z,1000,10,10,10,10,10,10)
    AddItem(0,4,4,10,z,1000,10,10,10,10,10,10)
    AddItem(0,4,5,10,z,1000,10,10,10,10,10,10)
    AddItem(0,4,6,10,z,1000,10,10,10,10,10,10)
    AddItem(0,4,7,10,z,1000,10,10,10,10,10,10)
    AddItem(0,4,8,10,z,1000,10,10,10,10,10,10)
    AddItem(0,4,9,10,z,1000,10,10,10,10,10,10)
    AddItem(0,4,10,10,z,1000,10,10,10,10,10,10)
    AddItem(0,4,11,10,z,1000,10,10,10,10,10,10)
    Msg2Player("Ban nhan duoc full bo day chuyen cac loai")

    end

    function no()
    end
    cái script mà bạn post là của a phương nó bị lỗi code rồi, lấy script này gán vào npc nào xài đỡ test đi
    Khách viếng thăm hãy cùng hoivegame xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  3. Các thành viên gởi lời cảm ơn đến hoivegame vì bài viết này !

    evjnshiva (01-05-11)

  4. #3
    Thành Viên
    Ngày tham gia
    Apr 2011
    Bài viết
    191
    Thanks
    39
    Thanked 49 Times in 21 Posts

    Ðề: pro sửa dùm cái script với

    hoivegame oi cho minh hoi cai sv mình sài hok có GM.lua chỉ có GMscript.lua + cái 测试GMscrip.lua thui sao add day
    add script ới rồi vẫn bị lỗi
    [Only registered and activated users can see links. ]
    chắc phải nghiên cứu về lua để tự viết luon quá < cần pro chỉ cách add script vào 1 npc tren bản đồ ( cho ảnh minh họa luôn nha ) >
    Lần sửa cuối bởi evjnshiva, ngày 01-05-11 lúc 07:01 PM.
    Khách viếng thăm hãy cùng evjnshiva xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  5. #4
    Super Moderator thaihoa91's Avatar
    Ngày tham gia
    Apr 2008
    Bài viết
    12,110
    Thanks
    662
    Thanked 3,168 Times in 1,602 Posts

    Ðề: pro sửa dùm cái script với

    Trích dẫn Gửi bởi evjnshiva [Only registered and activated users can see links. ]
    hoivegame oi cho minh hoi cai sv mình sài hok có GM.lua chỉ có GMscript.lua + cái 测试GMscrip.lua thui sao add day
    add script ới rồi vẫn bị lỗi
    [Only registered and activated users can see links. ]
    chắc phải nghiên cứu về lua để tự viết luon quá < cần pro chỉ cách add script vào 1 npc tren bản đồ ( cho ảnh minh họa luôn nha ) >
    Bạn down ebook là có 30 charrrrrrrrrrrrrrrrrrrr
    Khách viếng thăm hãy cùng thaihoa91 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  6. #5
    Thành Viên
    Ngày tham gia
    Mar 2010
    Bài viết
    430
    Thanks
    30
    Thanked 182 Times in 81 Posts

    Ðề: pro sửa dùm cái script với

    ^^! cái hình gamesever sao tí xíu ko thấy gì hết, post to to lên bạn
    Khách viếng thăm hãy cùng hoivegame xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  7. #6
    Moderator DNTmaster's Avatar
    Ngày tham gia
    Jun 2006
    Đang ở
    GameZone
    Bài viết
    932
    Thanks
    6
    Thanked 576 Times in 183 Posts

    Ðề: pro sửa dùm cái script với

    Trích dẫn Gửi bởi evjnshiva [Only registered and activated users can see links. ]
    hoivegame oi cho minh hoi cai sv mình sài hok có GM.lua chỉ có GMscript.lua + cái 测试GMscrip.lua thui sao add day
    add script ới rồi vẫn bị lỗi
    [Only registered and activated users can see links. ]
    chắc phải nghiên cứu về lua để tự viết luon quá < cần pro chỉ cách add script vào 1 npc tren bản đồ ( cho ảnh minh họa luôn nha ) >
    Bùn lên CLB giúp đỡ mà nhìn cái hình này hoa cả mắt cả đêm ko ngủ. Post hình to lên đi bạn
    [Only registered and activated users can see links. ]

  8. #7
    Thành Viên
    Ngày tham gia
    Apr 2009
    Bài viết
    60
    Thanks
    2
    Thanked 13 Times in 4 Posts

    Ðề: pro sửa dùm cái script với

    muốn chức năng GM thì add cai script \script\两湖区\巴陵县\npc\gm操作.lua
    Khách viếng thăm hãy cùng vt7592 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  9. #8
    Moderator
    Ngày tham gia
    May 2009
    Đang ở
    Nơi rất xa
    Bài viết
    2,479
    Thanks
    572
    Thanked 1,848 Times in 503 Posts

    Ðề: pro sửa dùm cái script với

    up hình to lên bạn, hình nhỏ quá chả thấy gì @@
    Khách viếng thăm hãy cùng jxvietnam xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  10. #9
    Thành Viên DirectX's Avatar
    Ngày tham gia
    Nov 2008
    Bài viết
    883
    Thanks
    132
    Thanked 610 Times in 144 Posts

    Ðề: pro sửa dùm cái script với

    tui việt hoá có bị gì đâu trời. chắc do trong quá trình việt hoá đã vô tình thêm hoặc bớt code oy. he he
    Khách viếng thăm hãy cùng DirectX xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

 

 

Các Chủ đề tương tự

  1. Một số script trong thư mục script Vina (unpack)
    Bởi sangpronhat trong diễn đàn Scripts
    Trả lời: 19
    Bài viết cuối: 26-11-11, 08:12 AM
  2. Xin các pro viết giúp em đoạn script
    Bởi letrieu94 trong diễn đàn Hỏi Đáp/ Yêu Cầu
    Trả lời: 1
    Bài viết cuối: 14-01-11, 08:11 PM
  3. Lưu 1 mảng khi viết script (Lưu dữ liệu)
    Bởi sangpronhat trong diễn đàn Scripts
    Trả lời: 6
    Bài viết cuối: 19-11-09, 12:05 PM
  4. Script kết hôn dùng cấu trúc lưu dữ liệu
    Bởi sangpronhat trong diễn đàn Scripts
    Trả lời: 1
    Bài viết cuối: 28-10-09, 09:56 PM

Quyền viết bài

  • Bạn Không thể gửi Chủ đề mới
  • Bạn Không thể Gửi trả lời
  • Bạn Không thể Gửi file đính kèm
  • Bạn Không thể Sửa bài viết của mình
  •  
Múi giờ GMT +7. Bây giờ là 05:11 AM.
vBulletin®, Copyright ©2000-2011, Jelsoft Enterprises Ltd.
CLBGamesVN không chịu trách nhiệm về Luật Bản Quyền của các tài liệu, bài viết v.v...được đăng tải trên diễn đàn này.
Diễn đàn phát triển dưới sự đóng góp của tất cả thành viên. BQT chỉ là những người thành lập ra sân chơi, quản lý và duy trì về mặt kỹ thuật, nội dung khi hợp lệ.