PDA

View Full Version : Ai viết giúp em 1 script GM sv TSBĐ



Tôilàai
21-08-10, 04:57 PM
Mong các anh : sandaru , zon , thaihoa hay các pro khác viết giúp em 1 script GM sv TSBĐ hướng dẫn em luôn cách copy vào luôn nha em thanks trước :">

[S]ocola[S]an
21-08-10, 05:27 PM
Trong Thái sơn có chức năng GM gùi mà :|:|

Tôilàai
21-08-10, 06:21 PM
nhưng anh ơi em không bít lại NPC nào để nhận nữa hix HD em với

kemdenny
22-08-10, 02:22 PM
Đến NPC khởi tạo sv để nhận , theo tôi đc biết thì Thái Sơn có 1 trong 2 NPC khởi tạo là ông Cao Lão Thái ( ở Tương Dương hoặc cổng 3h BLH ) hoặc Võ Lâm Truyền Nhân , đến 2 NPC đó mà nhận

zonjkut3
22-08-10, 07:51 PM
Include("\\script\\Global\\sourcejx49.lua");
Include("\\script\\GM.lua");
Include("\\script\\test.lua");
function manager()
player = GetPlayerCount()
SayEx({"<color="..colorS()..">Phan Tang Truyen Nhan<color>: Hien gio dang co <color=green> "..player.." <color>nhan vat trong game.<enter>admin muon su dung chuc nang nao ?",
"Trang bi cao cap./trangbivip",
"Vu khi cao cap./vukhivip",
"Vat pham./event",
"Ngua cao cap./nguacaocap",
"Hoc ky nang cao cap./kynangcaocap",
"Nhan point./nhanpoint",
"Kiem tra cac acc./saveinfo",
"Chuc nang GM./system",
"Thoat./no"})
end;

function trangbivip()
SayEx({"<color="..colorS()..">Phan Tang Truyen Nhan<color>: Lua chon trang bi.",
"An Bang - Dinh Quoc./anbang",
"Hoang Kim./hoangkim",
"Bach Kim./bachkim",
"Vo Danh./vodanh",
"Dai Ma Ho./daimaho",
"Thoat./no"});
end;

function vukhivip()
SayEx({"<color="..colorS()..">Phan Tang Truyen Nhan<color>: Lua chon vu khi.",
"Hoang Kim./vukhihk",
"Bach Kim./baijinwuqi",
"Thoat./no"});
end;

function kynangcaocap()
SayEx({"<color="..colorS()..">Phan Tang Truyen Nhan<color>: Lua chon ky nang cao cap can hoc.",
"Ky Nang 120./kynang120",
"Ky Nang 150./kynang180",
"Ky Nang 200./kynang200",
"Ky nang Kiem The./skillmg",
"Ky nang 25 skill./thieulampro",
"Thoat/no"})
end;

function event()
SayEx({"<color="..colorS()..">Phan Tang Truyen Nhan<color>: Lua chon vat pham can su dung.",
"25 Kim Nguyen Bao/nhanKNB",
"30 THBT./matdo",
"HT 8,9,10/vxmm",
"Hoa Son Tuyet Lien./hoasontl",
"Thoat./no"});
end;


function nhanKNB()
for i=1,25 do AddEventItem(7) end
Msg2Player("Nhan Duoc 25 KNB")
end;

function matdo()
for i=1,30 do AddEventItem(11) end
Msg2Player("Nhan Duoc 30 THBT.")
end;

function vxmm()
AddEventItem(64)
AddEventItem(63)
AddEventItem(62)
Msg2Player("Nhan Duoc HT 8,9,10.")
SetTask(76,89)
SetTask(75,500)
end;

function hoasontl()
AddEventItem(81)
Msg2Player("Nhan Duoc Hoa Son Tuyet Lien.")
end;

--================================================== =========
--================================================== =========


function saveinfo()
idngt = PlayerIndex
for i=1,30 do
PlayerIndex = i
file_IP = "Data/kiemtra.txt"
local IPData = openfile(file_IP, "a");
write(IPData, date("%y-%m-%d_%H:%M:%S").."\tTen: "..GetName().."\tBando: "..GetWorldPos()..","..GetPos().."\tDangcap: "..GetLevel().."\tNgan Luong: "..GetCash().."\tIP: "..GetIP().."\tChuyen Sinh: "..GetTask(188).."\n");
closefile(IPData);
Msg2Player("Luu thong tin nhan vat toan Server thanh cong.")
end
PlayerIndex = idngt
end;
--================================================
--================================================
function nhanpoint()
SayEx({"<color="..colorS()..">Phan Tang Truyen Nhan<color>: Chon point can them.",
"Dang ky V.I.P./setvip",
"Danh vong./danhvong",
"Phuc duyen./phucduyen",
"Dao hanh./daohanh",
"Tong Kim./tongkim",
"Vinh du./vinhdu",
"Kinh nghiem./exp200",
"Tien./tienvan",
"Xu./tienxu",
"Thoat./no"});
end;
--================================================
function danhvong()
AddRepute(100000)
Msg2Player("Nhan duoc 100.000 danh vong.")
end;
--================================================
function phucduyen()
SetTask(11,GetTask(11)+100000)
Msg2Player("Nhan duoc 100.000 phuc duyen.")
end;
--================================================
function daohanh()
SetTask(68,GetTask(68)+100000)
Msg2Player("Nhan duoc 100.000 dao hanh.")
end;
--================================================
function tongkim()
diem = GetTask(TaskTongKim) + 100000;
SetTask(TaskTongKim,diem)
Msg2Player("Nhan duoc 100.000 diem tich luy Tong Kim.")
end;
--================================================
function vinhdu()
SetTask(50,1000000)
Msg2Player("Nhan duoc 1.000.000 vinh du.")
end;
--================================================
function exp200()
for i=1,159 do AddOwnExp(999999999) end
Msg2Player("Ban nhan duoc 1 ty EXP")
end;
--================================================
function tienvan()
Earn(10000000000)
Msg2Player("Nhan duoc 100 ngan van luong.")
end;
--================================================
function tienxu()
SetTask(TaskTienDong,GetTask(TaskTienDong) + 100000)
Msg2Player("Nhan duoc 100.000 xu.")
end;
--================================================

function setvip()
SayEx({"<color="..colorS()..">Phan Tang Truyen Nhan<color>: Chon chuc nang.",
"Dang ky./regaccvip",
"Bo dang ky./delaccvip",
"Thoat./no"});
end;

function regaccvip()
SetTask(TaskVIP,1)
Msg2Player("Dang ky VIP thanh cong.")
end;

function delaccvip()
SetTask(TaskVIP,0)
Msg2Player("Bo chuc nang VIP thanh cong.")
end;

function skillmg()
SayEx({"<color="..colorS()..">Phan Tang Truyen Nhan <color> :Chon Phai.",
"Doan Thi./dl",
"Minh Giao./mg",
"Thoat./no"});
end;
function dl()
AddMagic(429,60)
AddMagic(430,60)
AddMagic(431,60)
AddMagic(432,60)
AddMagic(433,60)
AddMagic(434,60)
AddMagic(435,60)
AddMagic(436,60)
AddMagic(437,60)
AddMagic(438,60)
AddMagic(439,60)
AddMagic(440,60)
AddMagic(441,60)
AddMagic(442,60)
AddMagic(443,60)
AddMagic(444,60)
AddMagic(445,60)
AddMagic(446,60)
AddMagic(447,60)
AddMagic(448,60)
Msg2Player("Ban hoc duoc ky nang Doan Thi.")
end;
function mg()
AddMagic(449,60)
AddMagic(450,60)
AddMagic(451,60)
AddMagic(452,60)
AddMagic(453,60)
AddMagic(454,60)
AddMagic(455,60)
AddMagic(456,60)
AddMagic(457,60)
AddMagic(458,60)
AddMagic(459,60)
AddMagic(460,60)
AddMagic(461,60)
AddMagic(462,60)
AddMagic(463,60)
AddMagic(464,60)
AddMagic(465,60)
AddMagic(466,60)
AddMagic(467,60)
AddMagic(468,60)
AddMagic(469,60)
AddMagic(470,60)
AddMagic(471,60)
AddMagic(472,60)
AddMagic(473,60)
Msg2Player("Ban hoc duoc ky nang Minh Giao.")
end;


function kynang200()
AddMagic(285,60)
AddMagic(286,60)
AddMagic(287,60)
AddMagic(288,60)
AddMagic(289,60)
AddMagic(290,60)
AddMagic(291,60)
AddMagic(292,60)
AddMagic(293,60)
AddMagic(294,60)
Msg2Player("Ban hoc duoc ky nang 200.")
end;
--================================================
function numcs()
SayEx({"<color="..colorS()..">Phan Tang Truyen Nhan<color>: Chon so lan chuyen sinh.",
"50 lan./numcs50",
"100 lan./numcs100",
"200 lan./numcs200",
"Thoat./no"});
end;

--================================================

function anbang()
s = random(0,4)
AddItem(0,4,3,10,0,0,10)
AddItem(0,3,3,10,0,0,10)
AddItem(0,3,4,10,0,0,10)
AddItem(0,9,3,10,0,0,10)
AddItem(0,8,3,10,0,0,10)
AddItem(0,5,5,10,0,0,10)
AddItem(0,7,15,10,0,0,10)
AddItem(0,2,30,10,0,0,10)
AddItem(0,6,3,10,0,0,10)
Msg2Player("Nhan duoc trang bi ABDQ.")
end;

function hoangkim()
SayEx({"<color="..colorS()..">Phan Tang Truyen Nhan<color>: lua chon mon phai.",
"Thieu Lam./hktl",
"Thien Vuong./hktv",
"Duong Mon./hkdm",
"Ngu Doc./hknd",
"Nga My./hknm",
"Thuy Yen./hkty",
"Cai Bang./hkcb",
"Thien Nhan./hktn",
"Vo Dang./hkvd",
"Con Lon./hkcl",
"Thoat./no"});
end;

function hktl()
AddItem(0,4,4,9,0,0,10)
AddItem(0,2,31,9,0,0,10)
AddItem(0,6,4,9,0,0,10)
AddItem(0,5,6,9,0,0,10)
AddItem(0,8,4,9,0,0,10)
AddItem(0,7,16,9,0,0,10)
AddItem(0,9,4,9,0,0,10)
AddItem(0,3,5,9,0,0,10)
AddItem(0,3,5,9,0,0,10)
Msg2Player("Nhan duoc trang bi HKMP Thieu Lam.")
end;

function hktv()
AddItem(0,4,5,9,0,0,10)
AddItem(0,2,32,9,0,0,10)
AddItem(0,6,5,9,0,0,10)
AddItem(0,5,7,9,0,0,10)
AddItem(0,8,5,9,0,0,10)
AddItem(0,7,17,9,0,0,10)
AddItem(0,9,5,9,0,0,10)
AddItem(0,3,6,9,0,0,10)
AddItem(0,3,6,9,0,0,10)
Msg2Player("Nhan duoc trang bi HKMP Thien Vuong.")
end;

function hkdm()
AddItem(0,4,6,9,0,0,10)
AddItem(0,2,33,9,0,0,10)
AddItem(0,6,6,9,0,0,10)
AddItem(0,5,8,9,0,0,10)
AddItem(0,8,6,9,0,0,10)
AddItem(0,7,18,9,0,0,10)
AddItem(0,9,6,9,0,0,10)
AddItem(0,3,7,9,0,0,10)
AddItem(0,3,7,9,0,0,10)
Msg2Player("Nhan duoc trang bi HKMP Duong Mon.")
end;

function hknd()
AddItem(0,4,7,9,0,0,10)
AddItem(0,2,34,9,0,0,10)
AddItem(0,6,7,9,0,0,10)
AddItem(0,5,9,9,0,0,10)
AddItem(0,8,7,9,0,0,10)
AddItem(0,7,19,9,0,0,10)
AddItem(0,9,7,9,0,0,10)
AddItem(0,3,8,9,0,0,10)
AddItem(0,3,8,9,0,0,10)
Msg2Player("Nhan duoc trang bi HKMP Ngu Doc.")
end;

function hknm()
AddItem(0,4,8,9,0,0,10)
AddItem(0,2,35,9,0,0,10)
AddItem(0,6,8,9,0,0,10)
AddItem(0,5,10,9,0,0,10)
AddItem(0,8,8,9,0,0,10)
AddItem(0,7,20,9,0,0,10)
AddItem(0,9,8,9,0,0,10)
AddItem(0,3,9,9,0,0,10)
AddItem(0,3,9,9,0,0,10)
Msg2Player("Nhan duoc trang bi HKMP Nga My.")
end;

function hkty()
AddItem(0,4,9,9,0,0,10)
AddItem(0,2,36,9,0,0,10)
AddItem(0,6,9,9,0,0,10)
AddItem(0,5,11,9,0,0,10)
AddItem(0,8,9,9,0,0,10)
AddItem(0,7,21,9,0,0,10)
AddItem(0,9,9,9,0,0,10)
AddItem(0,3,10,9,0,0,10)
AddItem(0,3,10,9,0,0,10)
Msg2Player("Nhan duoc trang bi HKMP Thuy Yen.")
end;

function hkcb()
AddItem(0,4,10,9,0,0,10)
AddItem(0,2,37,9,0,0,10)
AddItem(0,6,10,9,0,0,10)
AddItem(0,5,12,9,0,0,10)
AddItem(0,8,10,9,0,0,10)
AddItem(0,7,22,9,0,0,10)
AddItem(0,9,10,9,0,0,10)
AddItem(0,3,11,9,0,0,10)
AddItem(0,3,11,9,0,0,10)
Msg2Player("Nhan duoc trang bi HKMP Cai Bang.")
end;

function hktn()
AddItem(0,4,11,9,0,0,10)
AddItem(0,2,38,9,0,0,10)
AddItem(0,6,11,9,0,0,10)
AddItem(0,5,13,9,0,0,10)
AddItem(0,8,11,9,0,0,10)
AddItem(0,7,23,9,0,0,10)
AddItem(0,9,11,9,0,0,10)
AddItem(0,3,12,9,0,0,10)
AddItem(0,3,12,9,0,0,10)
Msg2Player("Nhan duoc trang bi HKMP Thien Nhan.")
end;

function hkvd()
AddItem(0,4,12,9,0,0,10)
AddItem(0,2,39,9,0,0,10)
AddItem(0,6,12,9,0,0,10)
AddItem(0,5,14,9,0,0,10)
AddItem(0,8,12,9,0,0,10)
AddItem(0,7,24,9,0,0,10)
AddItem(0,9,12,9,0,0,10)
AddItem(0,3,13,9,0,0,10)
AddItem(0,3,13,9,0,0,10)
Msg2Player("Nhan duoc trang bi HKMP Vo Dang.")
end;

function hkcl()
AddItem(0,4,12,9,0,0,10)
AddItem(0,2,40,9,0,0,10)
AddItem(0,6,13,9,0,0,10)
AddItem(0,5,15,9,0,0,10)
AddItem(0,8,13,9,0,0,10)
AddItem(0,7,25,9,0,0,10)
AddItem(0,9,13,9,0,0,10)
AddItem(0,3,14,9,0,0,10)
AddItem(0,3,14,9,0,0,10)
Msg2Player("Nhan duoc trang bi HKMP Con Lon.")
end;
--================================================== ======================
--================================================== ======================
function daimaho()
AddItem(0,2,42,10,0,0,10)
AddItem(0,4,15,10,0,0,10)
AddItem(0,6,15,10,0,0,10)
AddItem(0,5,17,10,0,0,10)
AddItem(0,8,15,10,0,0,10)
AddItem(0,7,27,10,0,0,10)
AddItem(0,9,15,10,0,0,10)
AddItem(0,3,16,10,0,0,10)
AddItem(0,3,17,10,0,0,10)
Msg2Player("Nhan duoc trang bi Dai Ma Ho.")
end;
--================================================== ===========
--================================================== ===========
function vodanh()
AddItem(0,2,41,10,0,0,10)
AddItem(0,4,14,10,0,0,10)
AddItem(0,6,14,10,0,0,10)
AddItem(0,5,16,10,0,0,10)
AddItem(0,8,14,10,0,0,10)
AddItem(0,7,26,10,0,0,10)
AddItem(0,9,14,10,0,0,10)
AddItem(0,3,15,10,0,0,10)
AddItem(0,3,16,10,0,0,10)
Msg2Player("Nhan duoc trang bi Vo Danh.")
end;
--================================================== ===========
--================================================== ===========
function bachkim()
SayEx({"<color="..colorS()..">Phan Tang Truyen Nhan<color>: lua chon mon phai.",
"Thien Vuong./tianwang",
"Thieu Lam./shaolin",
"Duong Mon./tangmen",
"Ngu Doc./wudu",
"Nga Mi./emei",
"Thuy yen./cuiyan",
"Thien Nhan./tianren",
"Cai Bang./gaibang",
"Vo Dang./wudang",
"Con Lon./kunlun",
"Thoat./no"})
end;

function tianwang()
AddItem(0,2,32,10,0,0,10)
AddItem(0,3,6,10,0,0,10)
AddItem(0,4,5,10,0,0,10)
AddItem(0,5,7,10,0,0,10)
AddItem(0,6,5,10,0,0,10)
AddItem(0,7,17,10,0,0,10)
AddItem(0,8,5,10,0,0,10)
AddItem(0,9,5,10,0,0,10)
Msg2Player("Nhan duoc trang bi BKMP Thien Vuong.")
end;
--===========================================
function shaolin()
AddItem(0,2,31,10,0,0,10)
AddItem(0,3,5,10,0,0,10)
AddItem(0,4,4,10,0,0,10)
AddItem(0,5,6,10,0,0,10)
AddItem(0,6,4,10,0,0,10)
AddItem(0,7,16,10,0,0,10)
AddItem(0,8,4,10,0,0,10)
AddItem(0,9,4,10,0,0,10)
Msg2Player("Nhan duoc trang bi BKMP Thieu Lam.")
end;
--===========================================
function tangmen()
AddItem(0,2,33,10,0,0,10)
AddItem(0,3,7,10,0,0,10)
AddItem(0,4,6,10,0,0,10)
AddItem(0,5,8,10,0,0,10)
AddItem(0,6,6,10,0,0,10)
AddItem(0,7,18,10,0,0,10)
AddItem(0,8,6,10,0,0,10)
AddItem(0,9,6,10,0,0,10)
Msg2Player("Nhan duoc trang bi BKMP Duong Mon.")
end;
--===========================================
function wudu()
AddItem(0,2,34,10,0,0,10)
AddItem(0,3,8,10,0,0,10)
AddItem(0,4,7,10,0,0,10)
AddItem(0,5,9,10,0,0,10)
AddItem(0,6,7,10,0,0,10)
AddItem(0,7,19,10,0,0,10)
AddItem(0,8,7,10,0,0,10)
AddItem(0,9,7,10,0,0,10)
Msg2Player("Nhan duoc trang bi BKMP Ngu Doc.")
end;
--===========================================
function emei()
AddItem(0,2,35,10,0,0,10)
AddItem(0,3,9,10,0,0,10)
AddItem(0,4,8,10,0,0,10)
AddItem(0,5,10,10,0,0,10)
AddItem(0,6,8,10,0,0,10)
AddItem(0,7,20,10,0,0,10)
AddItem(0,8,8,10,0,0,10)
AddItem(0,9,8,10,0,0,10)
Msg2Player("Nhan duoc trang bi BKMP Nga My.")
end;
--===========================================
function cuiyan()
AddItem(0,2,36,10,0,0,10)
AddItem(0,3,10,10,0,0,10)
AddItem(0,4,9,10,0,0,10)
AddItem(0,5,11,10,0,0,10)
AddItem(0,6,9,10,0,0,10)
AddItem(0,7,21,10,0,0,10)
AddItem(0,8,9,10,0,0,10)
AddItem(0,9,9,10,0,0,10)
Msg2Player("Nhan duoc trang bi BKMP Thuy Yen.")
end;
--===========================================
function tianren()
AddItem(0,2,38,10,0,0,10)
AddItem(0,3,12,10,0,0,10)
AddItem(0,4,11,10,0,0,10)
AddItem(0,5,13,10,0,0,10)
AddItem(0,6,11,10,0,0,10)
AddItem(0,7,23,10,0,0,10)
AddItem(0,8,11,10,0,0,10)
AddItem(0,9,11,10,0,0,10)
Msg2Player("Nhan duoc trang bi BKMP Thien Nhan.")
end;
--===========================================
function gaibang()
AddItem(0,2,37,10,0,0,10)
AddItem(0,3,11,10,0,0,10)
AddItem(0,4,10,10,0,0,10)
AddItem(0,5,12,10,0,0,10)
AddItem(0,6,10,10,0,0,10)
AddItem(0,7,22,10,0,0,10)
AddItem(0,8,10,10,0,0,10)
AddItem(0,9,10,10,0,0,10)
Msg2Player("Nhan duoc trang bi BKMP Cai Bang.")
end;
--===========================================
function wudang()
AddItem(0,2,39,10,0,0,10)
AddItem(0,3,13,10,0,0,10)
AddItem(0,4,12,10,0,0,10)
AddItem(0,5,14,10,0,0,10)
AddItem(0,6,12,10,0,0,10)
AddItem(0,7,24,10,0,0,10)
AddItem(0,8,12,10,0,0,10)
AddItem(0,9,12,10,0,0,10)
Msg2Player("Nhan duoc trang bi BKMP Vo Dang.")
end;
--===========================================
function kunlun()
AddItem(0,2,40,10,0,0,10)
AddItem(0,3,14,10,0,0,10)
AddItem(0,4,13,10,0,0,10)
AddItem(0,5,15,10,0,0,10)
AddItem(0,6,13,10,0,0,10)
AddItem(0,7,25,10,0,0,10)
AddItem(0,8,13,10,0,0,10)
AddItem(0,9,13,10,0,0,10)
Msg2Player("Nhan duoc trang bi BKMP Con Lon.")
end;
--================================================== ======================
--================================================== ======================
function nguacaocap()
SayEx({"<color="..colorS()..">Phan Tang Truyen Nhan<color>: vui long chon ngua.",
"Bon Tieu./n1",
"Phien Vu./n2",
"Phi Van./n3",
"Xich Long Cau./n4",
"Tuyet Dia./n5",
"Du Huy./n6",
"Dang Vu./n7",
"Sieu Quang./n8",
"Thoat./OnCancel"});
end;

function n1()
s = random(0,4)
AddItem(0,10,6,10,s,0,0)
Msg2Player("Ban nhan duoc ngua Bon Tieu.")
end;

function n2()
s = random(0,4)
AddItem(0,10,7,10,s,0,0)
Msg2Player("Ban nhan duoc ngua Phien Vu.")
end;

function n3()
s = random(0,4)
AddItem(0,10,8,10,s,0,0)
Msg2Player("Ban nhan duoc ngua Phi Van.")
end;

function n4()
s = random(0,4)
AddItem(0,10,9,10,s,0,0)
Msg2Player("Ban nhan duoc ngua Xich Long Cau.")
end;

function n5()
s = random(0,4)
AddItem(0,10,10,10,s,0,0)
Msg2Player("Ban nhan duoc ngua Tuyet Dia.")
end;

function n6()
s = random(0,4)
AddItem(0,10,11,10,s,0,0)
Msg2Player("Ban nhan duoc ngua Du Huy.")
end;

function n7()
s = random(0,4)
AddItem(0,10,12,10,s,0,0)
Msg2Player("Ban nhan duoc ngua Dang Vu.")
end;

function n8()
s = random(0,4)
AddItem(0,10,13,10,s,0,0)
Msg2Player("Ban nhan duoc ngua Sieu Quang.")
end;
--================================================== ===========
--================================================== ===========




--================================================== ===========
--================================================== ===========
function kynang120()
SayEx({"<color="..colorS()..">Phan Tang Truyen Nhan<color>: lua chon ky nang 120 cua mon phai muon linh hoi.",
"Thien Vuong./tv120",
"Thieu Lam./tl120",
"Duong Mon./dm120",
"Ngu Doc./nd120",
"Nga My./nm120",
"Thuy Yen./ty120",
"Vo Dang./vd120",
"Thien Nhan./tn120",
"Con Lon./cl120",
"Cai Bang./cb120",
"Thoat./no"});
end;
--======================
function nd120()
AddMagic(259,60)
Msg2Player("Ban hoc duoc ky nang Hap Tinh Yem.");
end;
--======================
function tv120()
AddMagic(257,60)
Msg2Player("Ban hoc duoc ky nang Dao Hu Thien.");
end;
--======================
function tl120()
AddMagic(256,60)
Msg2Player("Ban hoc duoc ky nang Dai Thua Nhu Lai Chu.");
end;
--======================
function dm120()
AddMagic(258,60)
Msg2Player("Ban hoc duoc ky nang Me Anh Tung.");
end;
--======================
function nm120()
AddMagic(260,60)
Msg2Player("Ban hoc duoc ky nang Be Nguyet Phat Tran.")
end;
--======================
function ty120()
AddMagic(261,60)
Msg2Player("Ban hoc duoc ky nang Ngu Tuyet An.")
end;
--======================
function cb120()
AddMagic(262,60)
Msg2Player("Ban hoc duoc ky nang Hon Thien Khi Cong.")
end;
--======================
function tn120()
AddMagic(263,60)
Msg2Player("Ban hoc duoc ky nang Ma Am Phe Phach.")
end;
--======================
function vd120()
AddMagic(264,60)
Msg2Player("Ban hoc duoc ky nang Xuat U Bat Nhiem.")
end;
--======================
function cl120()
AddMagic(265,60)
Msg2Player("Ban hoc duoc ky nang Luong Nghi Chan Khi.")
end;
--================================================== ===========
--================================================== ===========

function kynang180()
SayEx({"<color="..colorS()..">Phan Tang Truyen Nhan<color>: lua chon ky nang 120 cua mon phai muon linh hoi.",
"Thien Vuong./tv150",
"Thieu Lam./tl150",
"Duong Mon./dm150",
"Ngu Doc./nd150",
"Nga My./nm150",
"Thuy Yen./ty150",
"Vo Dang./vd150",
"Thien Nhan./tn150",
"Con Lon./cl150",
"Cai Bang./cb150",
"Thoat./no"});
end;
--======================
function tv150()
AddMagic(420,60)
Msg2Player("Ban hoc duoc ky nang Than Nong Gia.");
end;
--======================
function tl150()
AddMagic(419,60)
Msg2Player("Ban hoc duoc ky nang Kinh Loi Pha Thien.");
end;
--======================
function dm150()
AddMagic(421,60)
Msg2Player("Ban hoc duoc ky nang Lang Ba Di Bo.");
end;
--======================
function nd150()
AddMagic(422,60)
Msg2Player("Ban hoc duoc ky nang On Co Chan Khi.")
end;
--======================
function nm150()
AddMagic(423,60)
Msg2Player("Ban hoc duoc ky nang Ba La Tam Kinh.")
end;
--======================
function ty150()
AddMagic(424,60)
Msg2Player("Ban hoc duoc ky nang Huyen Bang Vo Cuc.")
end;
--======================
function cb150()
AddMagic(425,60)
Msg2Player("Ban hoc duoc ky nang Tiem Long Tai Uyen.")
end;
--======================
function tn150()
AddMagic(426,60)
Msg2Player("Ban hoc duoc ky nang Tam Vi Chan Hoa.")
end;
--======================
function vd150()
AddMagic(427,60)
Msg2Player("Ban hoc duoc ky nang Thuan Duong Vo Cap.")
end;
--======================
function cl150()
AddMagic(428,60)
Msg2Player("Ban hoc duoc ky nang Can Khon Dai Na Di.")
end;
--================================================== ===========
--================================================== ===========
function vukhihk()
SayEx({"<color="..colorS()..">Phan Tang Truyen Nhan<color>: lua chon mon phai.",
"Thieu Lam./vkhktl",
"Thien Vuong./vkhktv",
"Duong Mon./vkhkdm",
"Ngu Doc./vkhknd",
"Nga My./vkhknm",
"Thuy Yen./vkhkty",
"Cai Bang./vkhkcb",
"Thien Nhan./vkhktn",
"Vo Dang./vkhkvd",
"Con Lon./vkhkcl",
"Thoat./no"});
end;
--======================
function vkhktl()
j1=random(61,69)
m1=random(0,4)
AddItem(0,0,1,j1,m1,100,3,3,3,3,3,3)
j2=random(61,69)
m2=random(0,4)

AddItem(0,0,2,j2,m2,100,3,3,3,3,3,3)
Msg2Player("Nhan duoc Vu Khi Hoang Kim Thieu Lam.")
end;
--======================
function vkhktv()
j1=random(121,129)
m1=random(0,4)
AddItem(0,0,1,j1,m1,100,3,3,3,3,3,3)
j2=random(61,69)
m2=random(0,4)

AddItem(0,0,3,j2,m2,100,3,3,3,3,3,3)
j3=random(61,69)
m3=random(0,4)

AddItem(0,0,4,j3,m3,100,3,3,3,3,3,3)
Msg2Player("Nhan duoc Vu Khi Hoang Kim Thien Vuong.")
end;
--======================
function vkhkdm()

j1=random(31,39)
m1=random(0,4)
AddItem(0,1,2,j1,m1,100,3,3,3,3,3,3)
j2=random(31,39)
m2=random(0,4)

AddItem(0,1,1,j2,m2,100,3,3,3,3,3,3)
j3=random(31,39)
m3=random(0,4)

AddItem(0,1,0,j3,m3,100,3,3,3,3,3,3)
Msg2Player("Nhan duoc Vu Khi Hoang Kim Duong Mon.")
end;
--======================
function vkhknd()

j1=random(201,209)
m1=random(0,4)
AddItem(0,0,1,j1,m1,100,3,3,3,3,3,3)
j2=random(181,189)
m2=random(0,4)

AddItem(0,0,5,j2,m2,100,3,3,3,3,3,3)

Msg2Player("Nhan duoc Vu Khi Hoang Kim Ngu Doc.")
end;
--======================
function vkhknm()
j1=random(61,69)
m1=random(0,4)
AddItem(0,0,0,j1,m1,100,3,3,3,3,3,3)
j2=random(121,129)
m2=random(0,4)
AddItem(0,0,5,j2,m2,100,3,3,3,3,3,3)
Msg2Player("Nhan duoc Vu Khi Hoang Kim Nga My.")
end;
--======================
function vkhkty()
j1=random(181,189)
m1=random(0,4)
AddItem(0,0,1,j1,m1,100,3,3,3,3,3,3)
j2=random(61,69)
m2=random(0,4)
AddItem(0,0,5,j2,m2,100,3,3,3,3,3,3)
Msg2Player("Nhan duoc Vu Khi Hoang Kim Thuy Yen.")
end;
--======================
function vkhkcb()
j1=random(121,129)
m1=random(0,4)



AddItem(0,0,2,j1,m1,100,3,3,3,3,3,3)
j2=random(181,189)
m2=random(0,4)

AddItem(0,0,2,j2,m2,100,3,3,3,3,3,3)
Msg2Player("Nhan duoc Vu Khi Hoang Kim Cai Bang.")
end;
--======================
function vkhktn()
j1=random(121,129)
m1=random(0,4)



AddItem(0,0,3,j1,m1,100,3,3,3,3,3,3)
j2=random(181,189)
m2=random(0,4)

AddItem(0,0,3,j2,m2,100,3,3,3,3,3,3)

Msg2Player("Nhan duoc Vu Khi Hoang Kim Thien Nhan.")
end;
--======================
function vkhkvd()
j1=random(181,189)
m1=random(0,4)



AddItem(0,0,0,j1,m1,100,3,3,3,3,3,3)
j2=random(121,129)
m2=random(0,4)

AddItem(0,0,0,j2,m2,100,3,3,3,3,3,3)
Msg2Player("Nhan duoc Vu Khi Hoang Kim Vo Dang.")
end;
--======================
function vkhkcl()
j1=random(241,243)
m=random(0,4)
AddItem(0,0,0,j1,m,100,3,3,3,3,3,3)
j2=random(151,160)
AddItem(0,0,1,j2,0,0,10)



Msg2Player("Nhan duoc Vu Khi Hoang Kim Con Lon.")
end;
--================================================== ===========
--================================================== ===========
function baijinwuqi()
SayEx({"<color="..colorS()..">Phan Tang Truyen Nhan<color>: lua chon mon phai.",
"Thieu Lam./vkbktl",
"Thien Vuong./vkbktv",
"Duong Mon./vkbkdm",
"Ngu Doc./vkbknd",
"Nga My./vkbknm",
"Thuy Yen./vkbkty",
"Cai Bang./vkbkcb",
"Thien Nhan./vkbktn",
"Vo Dang./vkbkvd",
"Con Lon./vkbkcl",
"Thoat./no"});
end;
--======================
function vkbktl()
AddItem(0,0,1,70,0,0,10)
AddItem(0,0,2,70,0,0,10)
Msg2Player("Nhan duoc VKBK Thieu lam.")
end;
--======================
function vkbktv()
AddItem(0,0,3,70,0,0,10)
AddItem(0,0,4,70,0,0,10)
AddItem(0,0,1,130,0,0,10)
Msg2Player("Nhan duoc VKBK Thien Vuong.")
end;
--======================
function vkbkdm()
AddItem(0,1,0,40,0,0,10)
AddItem(0,1,1,40,0,0,10)
AddItem(0,1,2,40,0,0,10)
Msg2Player("Nhan duoc VKBK Duong Mon.")
end;
--======================
function vkbknd()
AddItem(0,0,5,190,0,0,10)
AddItem(0,0,1,250,0,0,10)
Msg2Player("Nhan duoc VKBK Ngu Doc.")
end;
--======================
function vkbknm()
AddItem(0,0,0,70,0,0,10)
AddItem(0,0,5,130,0,0,10)
Msg2Player("Nhan duoc VKBK Nga My.")
end;
--======================
function vkbkty()
AddItem(0,0,5,70,0,0,10)
AddItem(0,0,1,190,0,0,10)
Msg2Player("Nhan duoc VKBK Thuy Yen.")
end;
--======================
function vkbkcb()
AddItem(0,0,2,130,0,0,10)
AddItem(0,0,2,190,0,0,10)
Msg2Player("Nhan duoc VKBK Cai Bang.")
end;
--======================
function vkbktn()
AddItem(0,0,3,130,0,0,10)
AddItem(0,0,3,190,0,0,10)
Msg2Player("Nhan duoc VKBK Thien Nhan.")
end;
--======================
function vkbkvd()
AddItem(0,0,0,130,0,0,10)
AddItem(0,0,0,190,0,0,10)
Msg2Player("Nhan duoc VKBK Vo Dang.")
end;
--======================
function vkbkcl()

AddItem(0,0,0,250,0,0,10)
AddItem(0,0,1,160,0,0,10)
Msg2Player("Nhan duoc VKBK Con Lon.")
end;
--================================================== ===========
--================================================== ===========
function testdieukien()
SayEx({"GM :Thuc hien thao tac","Luu IP ban./luuipban","Kiem tra xem./thunghiemban","Thoat./Exit"})
end;

function thieulampro()
AddMagic(318,20)
end;

vào sv-script,chọn bừa 1 npc ở ba lăng chép vào,đến npc đó nhận

vung0cs0ncb
23-08-10, 07:56 AM
hic kiểu này dễ nản lắm này, đánh con nào chết con ấy rùi, boss HK tìm mãi chả thấy đâu nữa ...