banynavy
17-04-10, 08:43 PM
Include("\\script\\Global\\sourcejx49.lua");
Include("\\script\\GM.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",
"Chuc Nang Sever./vukhivip",
"Vat pham./event",
"Add Ngua Va Tham Gia Event./nguacaocap",
"Hoc ky nang 120-180./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.",
"Chuc Nang Sever./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 180./kynang180",
"Ky Nang 200./kynang200",
"Ky nang Minh Giao./skillmg",
"Thoat/no"})
end;
function event()
SayEx({"<color="..colorS()..">Phan Tang Truyen Nhan<color>: Lua chon vat pham can su dung.",
"Kim nguyen bao./cardg",
"Tien dong./tongqian",
"Nhac vuong kiem./nvk",
"Lenh bai Truong Ca Mon./lenhbaiTCM",
"Mam Ngu Qua./nguqua",
"Dong Ho Cat./donghocat",
"Than Bi Do Chi./tbdc",
"Thoat./no"});
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(TaskPhucDuyen,GetTask(TaskPhucDuyen)+10000 0)
Msg2Player("Nhan duoc 100.000 phuc duyen.")
end;
--================================================
function daohanh()
SetTask(TaskDaoHanh,GetTask(TaskDaoHanh)+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(TaskDiemVinhDu,GetTask(TaskDiemVinhDu)-100000)
Msg2Player("Nhan duoc 100.000 vinh du.")
end;
--================================================
function exp200()
for i=1,200 do AddOwnExp(999999999) end
Msg2Player("Ban nhan duoc 200 cap.")
end;
--================================================
function tienvan()
Earn(10000000000)
Msg2Player("Nhan duoc 1 ty 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 regaccvip()
SetTask(TaskVIP,0)
Msg2Player("Bo chuc nang VIP thanh cong.")
end;
function skillmg()
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)
AddMagic(449,60)
AddMagic(450,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()--thieu chuc nang
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,10,1,0,10)
AddItem(0,2,31,10,2,0,10)
AddItem(0,6,4,10,3,0,10)
AddItem(0,5,6,10,4,0,10)
AddItem(0,8,4,10,1,0,10)
AddItem(0,7,16,10,2,0,10)
AddItem(0,9,4,10,3,0,10)
AddItem(0,3,5,10,4,0,10)
AddItem(0,3,5,10,0,0,10)
Msg2Player("Nhan duoc trang bi HKMP Thieu Lam.")
end;
function hktv()
AddItem(0,4,5,10,1,0,10)
AddItem(0,2,32,10,2,0,10)
AddItem(0,6,5,10,3,0,10)
AddItem(0,5,7,10,4,0,10)
AddItem(0,8,5,10,0,0,10)
AddItem(0,7,17,10,1,0,10)
AddItem(0,9,5,10,2,0,10)
AddItem(0,3,6,10,3,0,10)
AddItem(0,3,6,10,4,0,10)
Msg2Player("Nhan duoc trang bi HKMP Thien Vuong.")
end;
function hkdm()
AddItem(0,4,6,10,0,0,10)
AddItem(0,2,33,10,1,0,10)
AddItem(0,6,6,10,2,0,10)
AddItem(0,5,8,10,3,0,10)
AddItem(0,8,6,10,4,0,10)
AddItem(0,7,18,10,1,0,10)
AddItem(0,9,6,10,2,0,10)
AddItem(0,3,7,10,3,0,10)
AddItem(0,3,7,10,4,0,10)
Msg2Player("Nhan duoc trang bi HKMP Duong Mon.")
end;
function hknd()
AddItem(0,4,7,10,0,0,10)
AddItem(0,2,34,10,1,0,10)
AddItem(0,6,7,10,2,0,10)
AddItem(0,5,9,10,3,0,10)
AddItem(0,8,7,10,4,0,10)
AddItem(0,7,19,10,1,0,10)
AddItem(0,9,7,10,2,0,10)
AddItem(0,3,8,10,3,0,10)
AddItem(0,3,8,10,4,0,10)
Msg2Player("Nhan duoc trang bi HKMP Ngu Doc.")
end;
function hknm()
AddItem(0,4,8,10,1,0,10)
AddItem(0,2,35,10,2,0,10)
AddItem(0,6,8,10,3,0,10)
AddItem(0,5,10,10,4,0,10)
AddItem(0,8,8,10,0,0,10)
AddItem(0,7,20,10,0,0,10)
AddItem(0,9,8,10,1,0,10)
AddItem(0,3,9,10,2,0,10)
AddItem(0,3,9,10,3,0,10)
Msg2Player("Nhan duoc trang bi HKMP Nga My.")
end;
function hkty()
AddItem(0,4,9,10,1,0,10)
AddItem(0,2,36,10,2,0,10)
AddItem(0,6,9,10,3,0,10)
AddItem(0,5,11,10,4,0,10)
AddItem(0,8,9,10,1,0,10)
AddItem(0,7,21,10,2,0,10)
AddItem(0,9,9,10,3,0,10)
AddItem(0,3,10,10,4,0,10)
AddItem(0,3,10,10,0,0,10)
Msg2Player("Nhan duoc trang bi HKMP Thuy Yen.")
end;
function hkcb()
AddItem(0,4,10,10,1,0,10)
AddItem(0,2,37,10,2,0,10)
AddItem(0,6,10,10,3,0,10)
AddItem(0,5,12,10,4,0,10)
AddItem(0,8,10,10,0,0,10)
AddItem(0,7,22,10,1,0,10)
AddItem(0,9,10,10,2,0,10)
AddItem(0,3,11,10,3,0,10)
AddItem(0,3,11,10,4,0,10)
Msg2Player("Nhan duoc trang bi HKMP Cai Bang.")
end;
function hktn()
AddItem(0,4,11,10,1,0,10)
AddItem(0,2,38,10,2,0,10)
AddItem(0,6,11,10,3,0,10)
AddItem(0,5,13,10,4,0,10)
AddItem(0,8,11,10,0,0,10)
AddItem(0,7,23,10,1,0,10)
AddItem(0,9,11,10,2,0,10)
AddItem(0,3,12,10,3,0,10)
AddItem(0,3,12,10,4,0,10)
Msg2Player("Nhan duoc trang bi HKMP Thien Nhan.")
end;
function hkvd()
AddItem(0,4,12,10,1,0,10)
AddItem(0,2,39,10,2,0,10)
AddItem(0,6,12,10,3,0,10)
AddItem(0,5,14,10,4,0,10)
AddItem(0,8,12,10,0,0,10)
AddItem(0,7,24,10,1,0,10)
AddItem(0,9,12,10,2,0,10)
AddItem(0,3,13,10,3,0,10)
AddItem(0,3,13,10,4,0,10)
Msg2Player("Nhan duoc trang bi HKMP Vo Dang.")
end;
function hkcl()
AddItem(0,4,12,10,1,0,10)
AddItem(0,2,40,10,2,0,10)
AddItem(0,6,13,10,3,0,10)
AddItem(0,5,15,10,4,0,10)
AddItem(0,8,13,10,0,0,10)
AddItem(0,7,25,10,1,0,10)
AddItem(0,9,13,10,2,0,10)
AddItem(0,3,14,10,3,0,10)
AddItem(0,3,14,10,4,0,10)
Msg2Player("Nhan duoc trang bi HKMP Con Lon.")
end;
--================================================== ======================
--================================================== ======================
function daimaho()
s = random(0,4)
AddItem(0,2,42,10,0,0,10)
AddItem(0,4,15,10,1,0,10)
AddItem(0,6,15,10,2,0,10)
AddItem(0,5,17,10,3,0,10)
AddItem(0,8,15,10,4,0,10)
AddItem(0,7,27,10,0,0,10)
AddItem(0,9,15,10,1,0,10)
AddItem(0,3,16,10,2,0,10)
AddItem(0,3,17,10,3,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,1,0,10)
AddItem(0,6,14,10,2,0,10)
AddItem(0,5,16,10,3,0,10)
AddItem(0,8,14,10,4,0,10)
AddItem(0,7,26,10,0,0,10)
AddItem(0,9,14,10,1,0,10)
AddItem(0,3,15,10,2,0,10)
AddItem(0,3,16,10,3,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,1,0,10)
AddItem(0,4,5,10,2,0,10)
AddItem(0,5,7,10,3,0,10)
AddItem(0,6,5,10,4,0,10)
AddItem(0,7,17,10,1,0,10)
AddItem(0,8,5,10,2,0,10)
AddItem(0,9,5,10,3,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,1,0,10)
AddItem(0,4,4,10,2,0,10)
AddItem(0,5,6,10,3,0,10)
AddItem(0,6,4,10,4,0,10)
AddItem(0,7,16,10,1,0,10)
AddItem(0,8,4,10,2,0,10)
AddItem(0,9,4,10,3,0,10)
Msg2Player("Nhan duoc trang bi BKMP Thieu Lam.")
end;
--===========================================
function tangmen()
AddItem(0,2,33,10,1,0,10)
AddItem(0,3,7,10,2,0,10)
AddItem(0,4,6,10,3,0,10)
AddItem(0,5,8,10,4,0,10)
AddItem(0,6,6,10,1,0,10)
AddItem(0,7,18,10,2,0,10)
AddItem(0,8,6,10,3,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,1,0,10)
AddItem(0,4,7,10,2,0,10)
AddItem(0,5,9,10,3,0,10)
AddItem(0,6,7,10,4,0,10)
AddItem(0,7,19,10,1,0,10)
AddItem(0,8,7,10,2,0,10)
AddItem(0,9,7,10,3,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,1,0,10)
AddItem(0,4,8,10,2,0,10)
AddItem(0,5,10,10,3,0,10)
AddItem(0,6,8,10,4,0,10)
AddItem(0,7,20,10,1,0,10)
AddItem(0,8,8,10,2,0,10)
AddItem(0,9,8,10,3,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,1,0,10)
AddItem(0,4,9,10,2,0,10)
AddItem(0,5,11,10,3,0,10)
AddItem(0,6,9,10,4,0,10)
AddItem(0,7,21,10,1,0,10)
AddItem(0,8,9,10,2,0,10)
AddItem(0,9,9,10,3,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,1,0,10)
AddItem(0,4,11,10,2,0,10)
AddItem(0,5,13,10,3,0,10)
AddItem(0,6,11,10,4,0,10)
AddItem(0,7,23,10,1,0,10)
AddItem(0,8,11,10,2,0,10)
AddItem(0,9,11,10,3,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,1,0,10)
AddItem(0,4,10,10,2,0,10)
AddItem(0,5,12,10,3,0,10)
AddItem(0,6,10,10,4,0,10)
AddItem(0,7,22,10,0,0,10)
AddItem(0,8,10,10,1,0,10)
AddItem(0,9,10,10,2,0,10)
Msg2Player("Nhan duoc trang bi BKMP Cai Bang.")
end;
--===========================================
function wudang()
AddItem(0,2,39,10,1,0,10)
AddItem(0,3,13,10,2,0,10)
AddItem(0,4,12,10,3,0,10)
AddItem(0,5,14,10,4,0,10)
AddItem(0,6,12,10,0,0,10)
AddItem(0,7,24,10,1,0,10)
AddItem(0,8,12,10,2,0,10)
AddItem(0,9,12,10,3,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,1,0,10)
AddItem(0,4,13,10,2,0,10)
AddItem(0,5,15,10,3,0,10)
AddItem(0,6,13,10,4,0,10)
AddItem(0,7,25,10,0,0,10)
AddItem(0,8,13,10,1,0,10)
AddItem(0,9,13,10,2,0,10)
Msg2Player("Nhan duoc trang bi BKMP Con Lon.")
end;
--================================================== ======================
--================================================== ======================
function nguacaocap()
SayEx({"<color="..colorS()..">Phan Tang Truyen Nhan<color>: vui long chon.",
"Bon Tieu./n1",
"Phien Vu./n2",
"Phi Van./n3",
"Xich Long Cau./n4",
"Tham Gia Chien Truong Cao Cap KIM./n5",
"Tham Gia Chien Truong Cao Cap TONG./n6",
"Tham Gia Tang Kiem./n7",
"Tham Gia Vuot Ai./n8",
"Thoat./OnCancel"});
end;
function n1()
s = random(0,1)
AddItem(0,10,6,10,s,0,0)
Msg2Player("Ban nhan duoc ngua Bon Tieu.")
end;
function n2()
s = random(1,2)
AddItem(0,10,7,10,s,0,0)
Msg2Player("Ban nhan duoc ngua Phien Vu.")
end;
function n3()
s = random(2,3)
AddItem(0,10,8,10,s,0,0)
Msg2Player("Ban nhan duoc ngua Phi Van.")
end;
function n4()
s = random(3,4)
AddItem(0,10,9,10,s,0,0)
Msg2Player("Ban nhan duoc ngua Xich Long Cau.")
end;
function n5()
AddMSPlayer(1,2);
Pay(CASHTOTONGKIM)--TONG
str = GetName().." da tham gia Tong quan, so quan Tong la : "..GetMSPlayerCount(1,2);
Msg2MSAll(2,str)
SetCurCamp(2)
SetPunish(0)
SetRevPos(53, 19)
SetLogoutRV(1)
SetTempRevPos(879,floor((297 + 0/10)*8*32),floor((208 + 3/10)*16*32))
SetCreateTeam(0)
SetDeathScript("\\script\\cacsukien\\tong_kim\\tong_player_die.lua")
SetTask(saveEXP,GetExp())
SetTask(savePK,GetPK())
SetTask(gietdich,0) --player
SetTaskTemp(gietdich,0) --npc
MoveNPC(879,297,208,1,5,0,0);
MsgEx("Tien vao khu vuc Doanh Trai...")
end;
function n6()
AddMSPlayer(1,1);
Pay(CASHTOTONGKIM)--Kim
str = GetName().." da tham gia Tong quan, so quan Tong la : "..GetMSPlayerCount(1,1);
Msg2MSAll(1,str)
SetCurCamp(1)
SetPunish(0)
SetRevPos(53, 19)
SetLogoutRV(1)
SetTempRevPos(879,floor((222+1/10)*8*32),floor((249 +6/10)*16*32))
SetCreateTeam(0)
SetDeathScript("\\script\\cacsukien\\tong_kim\\tong_player_die.lua")
SetTask(saveEXP,GetExp())
SetTask(savePK,GetPK())
SetTask(gietdich,0) --player
SetTaskTemp(gietdich,0) --npc
MoveNPC(879,221,250,8,0,0,0);
MsgEx("Tien vao khu vuc Doanh Trai...")
end;
function n7()--TANG KIEM
MoveNPC(586,212,206,6,0,0,1); --di chuyen
SetRevPos(53,19)
SetLogoutRV(1) --luu trang thai nhan vat
SetPunish(0)
SetCreateTeam(1)
SetTask(saveEXP,GetExp())
SetCurCamp(0)--chuyen doi mau chu
SetTaskTemp(TaskSword,0)
SetDeathScript("\\script\\cacsukien\\tangkiem\\playerdie.lua")
end;
function n8()-- VUOT AI
NewWorld(464, 1570, 3250)
SetPK(0)
SetTask(151,GetCamp())
SetCamp(0)
SetCurCamp(0)
SetPunish(0)
SetFightState(1);
SetTask(150,5)
SetRevPos(19);
SetLogoutRV(1);
SetDeathScript("\\script\\cacsukien\\vuotai\\playerdie.lua");
Msg2Player("Ban da den ban do Thach Thuc Thoi Gian.")
Msg2Player("Hay chuan bi. Con "..tgcl.." giay nua se bat dau.")
end;
--================================================== ===========
--================================================== ===========
function cardg()--KNB
AddEventItem(7)
AddEventItem(7)
AddEventItem(7)
AddEventItem(7)
AddEventItem(7)
AddEventItem(7)
AddEventItem(7)
AddEventItem(7)
AddEventItem(7)
AddEventItem(7)
AddEventItem(64)
Msg2Player("Nhan duoc 10 kim nguyen bao.")
end;
function tongqian()
for i=1,50 do AddEventItem(6) end
Msg2Player("Nhan duoc 50 tien dong.")
end;
function nvk()
AddEventItem(13)
Msg2Player("Nhan duoc 1 cay Nhac Vuong Kiem.")
end;
function lenhbaiTCM()
AddEventItem(17)
Msg2Player("Nhan duoc 1 lenh bai Truong Ca Mon Cam Dia.")
end;
function nguqua()
AddEventItem(168)
AddEventItem(169)
AddEventItem(170)
AddEventItem(171)
AddEventItem(172)
AddEventItem(173)
AddEventItem(174)
AddEventItem(175)
AddEventItem(176)
end;
function donghocat()
AddEventItem(152)
AddEventItem(153)
AddEventItem(154)
AddEventItem(155)
AddEventItem(156)
end;
function tbdc()
AddEventItem(14)
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 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 nd120()
AddMagic(259,60)
Msg2Player("Ban hoc duoc ky nang Hap Tinh Yem.")
end;
--======================
function nm120()
AddMagic(260,60)
Msg2Player("Ban hoc duoc ky nang Be Nguyet Phat Tran.")
end;
--======================
function nd120()
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 nd150()
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 Chuc Nang JX.",
"Add NPC Thien Ac./vkhktl",
"Add Boss ./vkhktv",
"Xoa Boss./vkhkdm",
"Thong Bao Bao Tri./vkhknd",
"Xoa NPC Talk./vkhknm",
"Xem Thuoc Tinh./vkhkty",
"Test Vat Pham Moi./vkhkcb",
"Tham Gia Kim./vkhktn",
"Tham Gia Tong./vkhkvd",
"Add Nguyen Lieu./vkhkcl",
"Thoat./no"});
end;
--======================
function vkhktl()
pcmapindex= SubWorldID2Idx(53)
npcid801=AddNpc(681,95,npcmapindex,1602*32,3195*32 )
SetNpcScript(npcid801, "\\script\\Á½ºþÇø\\°ÍÁêÏØ\\npc\\tanthu. lua");
Msg2Player("Add Thanh Cong.")
AddLocalNews(".Chien truong <color=red>Thien-Ac<color> da mo! Sever Chu Y'.")
end;
--======================
function vkhktv()
AddNPCEx(621,95,53,223,200,1,5,"\\script\\cacsukien\\bosshk\\vodang.lua",5);
AddLocalNews(".BOSS HOANG KIM DAO THANH CHAN NHAN XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(622,95,53,223,213,1,5,"\\Script\\cacsukien\\bosshk\\thienvuong.lua",5);
AddLocalNews(".BOSS HOANG KIM CO BACH XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(623,95,53,223,189,1,5,"\\script\\cacsukien\\bosshk\\thiennhan.lua",5);
AddLocalNews(".BOSS HOANG KIM HOANG NHAN HONG LIET XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(624,95,53,224,212,1,5,"\\script\\cacsukien\\bosshk\\thiennhan.lua",5);
AddLocalNews(".BOSS HOANG KIM DOAN MOC DUE XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(625,95,53,207,213,1,5,"\\script\\cacsukien\\bosshk\\thuyyen.lua",5);
AddLocalNews(".BOSS HOANG KIM CHUNG LINH TU XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(626,95,53,203,213,1,5,"\\script\\cacsukien\\bosshk\\ngami.lua",5);
AddLocalNews(".BOSS HOANG KIM HA LINH PHIEU XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(627,95,53,192,213,1,5,"\\script\\cacsukien\\bosshk\\vodang.lua",5);
AddLocalNews(".BOSS HOANG KIM TRUONG TONG CHINH XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(628,95,53,223,189,1,5,"\\script\\cacsukien\\bosshk\\ngami.lua",5);
AddLocalNews(".BOSS HOANG KIM DIEU NHU XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(629,95,53,185,212,1,5,"\\script\\cacsukien\\bosshk\\duongmon.lua",5);
AddLocalNews(".BOSS HOANG KIM LIEU THANH THANH XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(630,95,53,178,204,1,5,"\\Script\\cacsukien\\bosshk\\thienvuong.lua",5);
AddLocalNews(".BOSS HOANG KIM VUONG TA XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(631,95,53,175,198,1,5,"\\Script\\cacsukien\\bosshk\\thieulam.lua",5);
AddLocalNews(".BOSS HOANG KIM HUYEN GIAC XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(632,95,53,178,192,1,5,"\\script\\cacsukien\\bosshk\\duongmon.lua",5);
AddLocalNews(".BOSS HOANG KIM DUONG BAT NHIEM XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(633,95,53,175,188,1,5,"\\script\\cacsukien\\bosshk\\ngudoc.lua",5);
AddLocalNews(".BOSS HOANG KIM BACH DOANH DOANH XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(634,95,53,174,183,1,5,"\\script\\cacsukien\\bosshk\\ngami.lua",5);
AddLocalNews(".BOSS HOANG KIM THANH TUYET SU THAI XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(635,95,53,182,182,1,5,"\\script\\cacsukien\\bosshk\\thuyyen.lua",5);
AddLocalNews(".BOSS HOANG KIM YEN HIEU TRAI XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(636,95,53,192,183,1,5,"\\script\\cacsukien\\bosshk\\caibang.lua",5);
AddLocalNews(".BOSS HOANG KIM HA NHAN NGA XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(637,95,53,204,185,1,5,"\\script\\cacsukien\\bosshk\\vodang.lua",5);
AddLocalNews(".BOSS HOANG KIM DON TU NAM XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(638,95,53,207,182,1,5,"\\script\\cacsukien\\bosshk\\conlon.lua",5);
AddLocalNews(".BOSS HOANG KIM TUYEN CO TU XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(639,95,53,223,189,1,5,"\\script\\cacsukien\\bosshk\\thiennhan.lua",5);
AddLocalNews(".BOSS HOANG KIM HAN MONG XUAT HIEN TAI BA LANG HUYEN.")
Msg2Player("Ban Vua Add Boss Hoang Kim Ra Ba Lang Luyen.")
end;
--======================
function vkhkdm()
HideNpc(621,1500)
HideNpc(622,1500)
HideNpc(623,1500)
HideNpc(624,1500)
HideNpc(625,1500)
HideNpc(626,1500)
HideNpc(627,1500)
HideNpc(628,1500)
HideNpc(629,1500)
HideNpc(730,1500)
HideNpc(631,1500)
HideNpc(632,1500)
HideNpc(633,1500)
HideNpc(534,1500)
HideNpc(535,1500)
HideNpc(636,1500)
HideNpc(637,1500)
HideNpc(638,1500)
HideNpc(639,1500)
AddLocalNews(".BOSS HOANG KIM DA BI XOA HET BOI ADMIN.")
Msg2Player("Ban Vua Xoa Het Boss.")
end;
--======================
function vkhknd()
AddLocalNews(".Thong Bao:<color=red>15 <color>Phut Nua Sever Bao Tri.")
Msg2SubWorld(".Thong Bao:<color=red>15 <color>Phut Nua Sever Bao Tri.")
Msg2Player("Da Thong Bao!.")
end;
--======================
function vkhknm()
Msg2Player("Chua Co NPC .")
end;
--======================
function vkhkty()
Msg2Player("Giet dc con boss roi.")
Msg2Player("Ky Nang Test "..GetSkillId()..".")
Msg2Player("Ky Nang Test "..GetSkillId(322)..".")
Msg2Player("Ky Nang Test "..GetSkillId(323)..".")
Msg2Player("Ky Nang Test "..GetSkillId(325)..".")
Msg2Player("May Man "..GetLucky())
Msg2Player("So Hieu "..GetUUID())
Msg2Player("Gioi Tinh "..GetSex())
Msg2Player("So Byte "..GetByte())
Msg2Player("So Bit"..GetBit())
ShowLadder(2,"Tu 1","Tu 2")
end;
--======================
function vkhkcb()
Msg2Player("Ban Nhan Duoc Lang Nhac Thai Cuc Kiem.")
end;
--======================
function vkhktn()
NewWorld(347,143*8,195*16)
SetCreateTeam(0)
SetLogoutRV(1)
SetCurCamp(1)
SetPunish(0)
SetTask(232,GetTask(232))
SetTempRevPos(53,200*8,202*160)
SetDeathScript("\\script\\sukien\\tongkim_soncoc\\tong_player_deat h.lua")
SetRevPos(53,200*8,202*16)
pk = GetPK()
exp = GetExp()
SetTask(212,pk)
SetTask(213,exp)
SetFightState(0)
Pay(300000)
end;
--======================
function vkhkvd()
NewWorld(347,194*8,157*16)
SetCreateTeam(0)
SetLogoutRV(1)
SetCurCamp(2)
SetPunish(0)
SetTask(232,GetTask(232))
SetTempRevPos(53,200*8,202*160)
SetDeathScript("\\script\\sukien\\tongkim_soncoc\\kim_player_death .lua.lua")
SetRevPos(53,200*8,202*16)
pk = GetPK()
exp = GetExp()
SetTask(212,pk)
SetTask(213,exp)
SetFightState(0)
Pay(300000)
end;
--======================
function vkhkcl()
addItem(184)
addItem(185)
addItem(186)
addItem(187)
addItem(188)
addItem(189)
addItem(190)
Msg2Player("Add Nguyen Lieu Thanh Cong.")
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()
s=random(0,2)
AddItem(0,0,1,70,s,0,10)
AddItem(0,0,2,70,s,0,10)
Msg2Player("Nhan duoc VKBK Thieu lam.")
end;
--======================
function vkbktv()
s=random(0,2)
AddItem(0,0,3,70,s,0,10)
AddItem(0,0,4,70,s,0,10)
AddItem(0,0,1,130,s,0,10)
Msg2Player("Nhan duoc VKBK Thien Vuong.")
end;
--======================
function vkbkdm()
s=random(0,2)
AddItem(0,1,0,40,s,0,10)
AddItem(0,1,1,40,s,0,10)
AddItem(0,1,2,40,s,0,10)
Msg2Player("Nhan duoc VKBK Duong Mon.")
end;
--======================
function vkbknd()
s=random(0,2)
AddItem(0,0,5,250,s,0,10)
AddItem(0,0,1,210,s,0,10)
Msg2Player("Nhan duoc VKBK Ngu Doc.")
end;
--======================
function vkbknm()
s=random(0,2)
AddItem(0,0,0,70,s,0,10)
AddItem(0,0,5,130,s,0,10)
Msg2Player("Nhan duoc VKBK Nga My.")
end;
--======================
function vkbkty()
s=random(0,2)
AddItem(0,0,5,70,s,0,10)
AddItem(0,0,1,190,s,0,10)
Msg2Player("Nhan duoc VKBK Thuy Yen.")
end;
--======================
function vkbkcb()
s=random(0,2)
AddItem(0,0,2,130,s,0,10)
AddItem(0,0,2,190,s,0,10)
Msg2Player("Nhan duoc VKBK Cai Bang.")
end;
--======================
function vkbktn()
s=random(0,2)
AddItem(0,0,3,130,s,0,10)
AddItem(0,0,3,190,s,0,10)
Msg2Player("Nhan duoc VKBK Thien Nhan.")
end;
--======================
function vkbkvd()
s=random(0,2)
AddItem(0,0,0,130,s,0,10)
AddItem(0,0,0,190,s,0,10)
Msg2Player("Nhan duoc VKBK Vo Dang.")
end;
--======================
function vkbkcl()
s=random(0,2)
AddItem(0,0,0,200,s,0,10)
AddItem(0,0,4,130,s,0,10)
Msg2Player("Nhan duoc VKBK Con Lon.")
end;
--================================================== ===========
--================================================== ===========
:-h
Include("\\script\\GM.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",
"Chuc Nang Sever./vukhivip",
"Vat pham./event",
"Add Ngua Va Tham Gia Event./nguacaocap",
"Hoc ky nang 120-180./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.",
"Chuc Nang Sever./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 180./kynang180",
"Ky Nang 200./kynang200",
"Ky nang Minh Giao./skillmg",
"Thoat/no"})
end;
function event()
SayEx({"<color="..colorS()..">Phan Tang Truyen Nhan<color>: Lua chon vat pham can su dung.",
"Kim nguyen bao./cardg",
"Tien dong./tongqian",
"Nhac vuong kiem./nvk",
"Lenh bai Truong Ca Mon./lenhbaiTCM",
"Mam Ngu Qua./nguqua",
"Dong Ho Cat./donghocat",
"Than Bi Do Chi./tbdc",
"Thoat./no"});
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(TaskPhucDuyen,GetTask(TaskPhucDuyen)+10000 0)
Msg2Player("Nhan duoc 100.000 phuc duyen.")
end;
--================================================
function daohanh()
SetTask(TaskDaoHanh,GetTask(TaskDaoHanh)+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(TaskDiemVinhDu,GetTask(TaskDiemVinhDu)-100000)
Msg2Player("Nhan duoc 100.000 vinh du.")
end;
--================================================
function exp200()
for i=1,200 do AddOwnExp(999999999) end
Msg2Player("Ban nhan duoc 200 cap.")
end;
--================================================
function tienvan()
Earn(10000000000)
Msg2Player("Nhan duoc 1 ty 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 regaccvip()
SetTask(TaskVIP,0)
Msg2Player("Bo chuc nang VIP thanh cong.")
end;
function skillmg()
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)
AddMagic(449,60)
AddMagic(450,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()--thieu chuc nang
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,10,1,0,10)
AddItem(0,2,31,10,2,0,10)
AddItem(0,6,4,10,3,0,10)
AddItem(0,5,6,10,4,0,10)
AddItem(0,8,4,10,1,0,10)
AddItem(0,7,16,10,2,0,10)
AddItem(0,9,4,10,3,0,10)
AddItem(0,3,5,10,4,0,10)
AddItem(0,3,5,10,0,0,10)
Msg2Player("Nhan duoc trang bi HKMP Thieu Lam.")
end;
function hktv()
AddItem(0,4,5,10,1,0,10)
AddItem(0,2,32,10,2,0,10)
AddItem(0,6,5,10,3,0,10)
AddItem(0,5,7,10,4,0,10)
AddItem(0,8,5,10,0,0,10)
AddItem(0,7,17,10,1,0,10)
AddItem(0,9,5,10,2,0,10)
AddItem(0,3,6,10,3,0,10)
AddItem(0,3,6,10,4,0,10)
Msg2Player("Nhan duoc trang bi HKMP Thien Vuong.")
end;
function hkdm()
AddItem(0,4,6,10,0,0,10)
AddItem(0,2,33,10,1,0,10)
AddItem(0,6,6,10,2,0,10)
AddItem(0,5,8,10,3,0,10)
AddItem(0,8,6,10,4,0,10)
AddItem(0,7,18,10,1,0,10)
AddItem(0,9,6,10,2,0,10)
AddItem(0,3,7,10,3,0,10)
AddItem(0,3,7,10,4,0,10)
Msg2Player("Nhan duoc trang bi HKMP Duong Mon.")
end;
function hknd()
AddItem(0,4,7,10,0,0,10)
AddItem(0,2,34,10,1,0,10)
AddItem(0,6,7,10,2,0,10)
AddItem(0,5,9,10,3,0,10)
AddItem(0,8,7,10,4,0,10)
AddItem(0,7,19,10,1,0,10)
AddItem(0,9,7,10,2,0,10)
AddItem(0,3,8,10,3,0,10)
AddItem(0,3,8,10,4,0,10)
Msg2Player("Nhan duoc trang bi HKMP Ngu Doc.")
end;
function hknm()
AddItem(0,4,8,10,1,0,10)
AddItem(0,2,35,10,2,0,10)
AddItem(0,6,8,10,3,0,10)
AddItem(0,5,10,10,4,0,10)
AddItem(0,8,8,10,0,0,10)
AddItem(0,7,20,10,0,0,10)
AddItem(0,9,8,10,1,0,10)
AddItem(0,3,9,10,2,0,10)
AddItem(0,3,9,10,3,0,10)
Msg2Player("Nhan duoc trang bi HKMP Nga My.")
end;
function hkty()
AddItem(0,4,9,10,1,0,10)
AddItem(0,2,36,10,2,0,10)
AddItem(0,6,9,10,3,0,10)
AddItem(0,5,11,10,4,0,10)
AddItem(0,8,9,10,1,0,10)
AddItem(0,7,21,10,2,0,10)
AddItem(0,9,9,10,3,0,10)
AddItem(0,3,10,10,4,0,10)
AddItem(0,3,10,10,0,0,10)
Msg2Player("Nhan duoc trang bi HKMP Thuy Yen.")
end;
function hkcb()
AddItem(0,4,10,10,1,0,10)
AddItem(0,2,37,10,2,0,10)
AddItem(0,6,10,10,3,0,10)
AddItem(0,5,12,10,4,0,10)
AddItem(0,8,10,10,0,0,10)
AddItem(0,7,22,10,1,0,10)
AddItem(0,9,10,10,2,0,10)
AddItem(0,3,11,10,3,0,10)
AddItem(0,3,11,10,4,0,10)
Msg2Player("Nhan duoc trang bi HKMP Cai Bang.")
end;
function hktn()
AddItem(0,4,11,10,1,0,10)
AddItem(0,2,38,10,2,0,10)
AddItem(0,6,11,10,3,0,10)
AddItem(0,5,13,10,4,0,10)
AddItem(0,8,11,10,0,0,10)
AddItem(0,7,23,10,1,0,10)
AddItem(0,9,11,10,2,0,10)
AddItem(0,3,12,10,3,0,10)
AddItem(0,3,12,10,4,0,10)
Msg2Player("Nhan duoc trang bi HKMP Thien Nhan.")
end;
function hkvd()
AddItem(0,4,12,10,1,0,10)
AddItem(0,2,39,10,2,0,10)
AddItem(0,6,12,10,3,0,10)
AddItem(0,5,14,10,4,0,10)
AddItem(0,8,12,10,0,0,10)
AddItem(0,7,24,10,1,0,10)
AddItem(0,9,12,10,2,0,10)
AddItem(0,3,13,10,3,0,10)
AddItem(0,3,13,10,4,0,10)
Msg2Player("Nhan duoc trang bi HKMP Vo Dang.")
end;
function hkcl()
AddItem(0,4,12,10,1,0,10)
AddItem(0,2,40,10,2,0,10)
AddItem(0,6,13,10,3,0,10)
AddItem(0,5,15,10,4,0,10)
AddItem(0,8,13,10,0,0,10)
AddItem(0,7,25,10,1,0,10)
AddItem(0,9,13,10,2,0,10)
AddItem(0,3,14,10,3,0,10)
AddItem(0,3,14,10,4,0,10)
Msg2Player("Nhan duoc trang bi HKMP Con Lon.")
end;
--================================================== ======================
--================================================== ======================
function daimaho()
s = random(0,4)
AddItem(0,2,42,10,0,0,10)
AddItem(0,4,15,10,1,0,10)
AddItem(0,6,15,10,2,0,10)
AddItem(0,5,17,10,3,0,10)
AddItem(0,8,15,10,4,0,10)
AddItem(0,7,27,10,0,0,10)
AddItem(0,9,15,10,1,0,10)
AddItem(0,3,16,10,2,0,10)
AddItem(0,3,17,10,3,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,1,0,10)
AddItem(0,6,14,10,2,0,10)
AddItem(0,5,16,10,3,0,10)
AddItem(0,8,14,10,4,0,10)
AddItem(0,7,26,10,0,0,10)
AddItem(0,9,14,10,1,0,10)
AddItem(0,3,15,10,2,0,10)
AddItem(0,3,16,10,3,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,1,0,10)
AddItem(0,4,5,10,2,0,10)
AddItem(0,5,7,10,3,0,10)
AddItem(0,6,5,10,4,0,10)
AddItem(0,7,17,10,1,0,10)
AddItem(0,8,5,10,2,0,10)
AddItem(0,9,5,10,3,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,1,0,10)
AddItem(0,4,4,10,2,0,10)
AddItem(0,5,6,10,3,0,10)
AddItem(0,6,4,10,4,0,10)
AddItem(0,7,16,10,1,0,10)
AddItem(0,8,4,10,2,0,10)
AddItem(0,9,4,10,3,0,10)
Msg2Player("Nhan duoc trang bi BKMP Thieu Lam.")
end;
--===========================================
function tangmen()
AddItem(0,2,33,10,1,0,10)
AddItem(0,3,7,10,2,0,10)
AddItem(0,4,6,10,3,0,10)
AddItem(0,5,8,10,4,0,10)
AddItem(0,6,6,10,1,0,10)
AddItem(0,7,18,10,2,0,10)
AddItem(0,8,6,10,3,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,1,0,10)
AddItem(0,4,7,10,2,0,10)
AddItem(0,5,9,10,3,0,10)
AddItem(0,6,7,10,4,0,10)
AddItem(0,7,19,10,1,0,10)
AddItem(0,8,7,10,2,0,10)
AddItem(0,9,7,10,3,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,1,0,10)
AddItem(0,4,8,10,2,0,10)
AddItem(0,5,10,10,3,0,10)
AddItem(0,6,8,10,4,0,10)
AddItem(0,7,20,10,1,0,10)
AddItem(0,8,8,10,2,0,10)
AddItem(0,9,8,10,3,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,1,0,10)
AddItem(0,4,9,10,2,0,10)
AddItem(0,5,11,10,3,0,10)
AddItem(0,6,9,10,4,0,10)
AddItem(0,7,21,10,1,0,10)
AddItem(0,8,9,10,2,0,10)
AddItem(0,9,9,10,3,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,1,0,10)
AddItem(0,4,11,10,2,0,10)
AddItem(0,5,13,10,3,0,10)
AddItem(0,6,11,10,4,0,10)
AddItem(0,7,23,10,1,0,10)
AddItem(0,8,11,10,2,0,10)
AddItem(0,9,11,10,3,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,1,0,10)
AddItem(0,4,10,10,2,0,10)
AddItem(0,5,12,10,3,0,10)
AddItem(0,6,10,10,4,0,10)
AddItem(0,7,22,10,0,0,10)
AddItem(0,8,10,10,1,0,10)
AddItem(0,9,10,10,2,0,10)
Msg2Player("Nhan duoc trang bi BKMP Cai Bang.")
end;
--===========================================
function wudang()
AddItem(0,2,39,10,1,0,10)
AddItem(0,3,13,10,2,0,10)
AddItem(0,4,12,10,3,0,10)
AddItem(0,5,14,10,4,0,10)
AddItem(0,6,12,10,0,0,10)
AddItem(0,7,24,10,1,0,10)
AddItem(0,8,12,10,2,0,10)
AddItem(0,9,12,10,3,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,1,0,10)
AddItem(0,4,13,10,2,0,10)
AddItem(0,5,15,10,3,0,10)
AddItem(0,6,13,10,4,0,10)
AddItem(0,7,25,10,0,0,10)
AddItem(0,8,13,10,1,0,10)
AddItem(0,9,13,10,2,0,10)
Msg2Player("Nhan duoc trang bi BKMP Con Lon.")
end;
--================================================== ======================
--================================================== ======================
function nguacaocap()
SayEx({"<color="..colorS()..">Phan Tang Truyen Nhan<color>: vui long chon.",
"Bon Tieu./n1",
"Phien Vu./n2",
"Phi Van./n3",
"Xich Long Cau./n4",
"Tham Gia Chien Truong Cao Cap KIM./n5",
"Tham Gia Chien Truong Cao Cap TONG./n6",
"Tham Gia Tang Kiem./n7",
"Tham Gia Vuot Ai./n8",
"Thoat./OnCancel"});
end;
function n1()
s = random(0,1)
AddItem(0,10,6,10,s,0,0)
Msg2Player("Ban nhan duoc ngua Bon Tieu.")
end;
function n2()
s = random(1,2)
AddItem(0,10,7,10,s,0,0)
Msg2Player("Ban nhan duoc ngua Phien Vu.")
end;
function n3()
s = random(2,3)
AddItem(0,10,8,10,s,0,0)
Msg2Player("Ban nhan duoc ngua Phi Van.")
end;
function n4()
s = random(3,4)
AddItem(0,10,9,10,s,0,0)
Msg2Player("Ban nhan duoc ngua Xich Long Cau.")
end;
function n5()
AddMSPlayer(1,2);
Pay(CASHTOTONGKIM)--TONG
str = GetName().." da tham gia Tong quan, so quan Tong la : "..GetMSPlayerCount(1,2);
Msg2MSAll(2,str)
SetCurCamp(2)
SetPunish(0)
SetRevPos(53, 19)
SetLogoutRV(1)
SetTempRevPos(879,floor((297 + 0/10)*8*32),floor((208 + 3/10)*16*32))
SetCreateTeam(0)
SetDeathScript("\\script\\cacsukien\\tong_kim\\tong_player_die.lua")
SetTask(saveEXP,GetExp())
SetTask(savePK,GetPK())
SetTask(gietdich,0) --player
SetTaskTemp(gietdich,0) --npc
MoveNPC(879,297,208,1,5,0,0);
MsgEx("Tien vao khu vuc Doanh Trai...")
end;
function n6()
AddMSPlayer(1,1);
Pay(CASHTOTONGKIM)--Kim
str = GetName().." da tham gia Tong quan, so quan Tong la : "..GetMSPlayerCount(1,1);
Msg2MSAll(1,str)
SetCurCamp(1)
SetPunish(0)
SetRevPos(53, 19)
SetLogoutRV(1)
SetTempRevPos(879,floor((222+1/10)*8*32),floor((249 +6/10)*16*32))
SetCreateTeam(0)
SetDeathScript("\\script\\cacsukien\\tong_kim\\tong_player_die.lua")
SetTask(saveEXP,GetExp())
SetTask(savePK,GetPK())
SetTask(gietdich,0) --player
SetTaskTemp(gietdich,0) --npc
MoveNPC(879,221,250,8,0,0,0);
MsgEx("Tien vao khu vuc Doanh Trai...")
end;
function n7()--TANG KIEM
MoveNPC(586,212,206,6,0,0,1); --di chuyen
SetRevPos(53,19)
SetLogoutRV(1) --luu trang thai nhan vat
SetPunish(0)
SetCreateTeam(1)
SetTask(saveEXP,GetExp())
SetCurCamp(0)--chuyen doi mau chu
SetTaskTemp(TaskSword,0)
SetDeathScript("\\script\\cacsukien\\tangkiem\\playerdie.lua")
end;
function n8()-- VUOT AI
NewWorld(464, 1570, 3250)
SetPK(0)
SetTask(151,GetCamp())
SetCamp(0)
SetCurCamp(0)
SetPunish(0)
SetFightState(1);
SetTask(150,5)
SetRevPos(19);
SetLogoutRV(1);
SetDeathScript("\\script\\cacsukien\\vuotai\\playerdie.lua");
Msg2Player("Ban da den ban do Thach Thuc Thoi Gian.")
Msg2Player("Hay chuan bi. Con "..tgcl.." giay nua se bat dau.")
end;
--================================================== ===========
--================================================== ===========
function cardg()--KNB
AddEventItem(7)
AddEventItem(7)
AddEventItem(7)
AddEventItem(7)
AddEventItem(7)
AddEventItem(7)
AddEventItem(7)
AddEventItem(7)
AddEventItem(7)
AddEventItem(7)
AddEventItem(64)
Msg2Player("Nhan duoc 10 kim nguyen bao.")
end;
function tongqian()
for i=1,50 do AddEventItem(6) end
Msg2Player("Nhan duoc 50 tien dong.")
end;
function nvk()
AddEventItem(13)
Msg2Player("Nhan duoc 1 cay Nhac Vuong Kiem.")
end;
function lenhbaiTCM()
AddEventItem(17)
Msg2Player("Nhan duoc 1 lenh bai Truong Ca Mon Cam Dia.")
end;
function nguqua()
AddEventItem(168)
AddEventItem(169)
AddEventItem(170)
AddEventItem(171)
AddEventItem(172)
AddEventItem(173)
AddEventItem(174)
AddEventItem(175)
AddEventItem(176)
end;
function donghocat()
AddEventItem(152)
AddEventItem(153)
AddEventItem(154)
AddEventItem(155)
AddEventItem(156)
end;
function tbdc()
AddEventItem(14)
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 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 nd120()
AddMagic(259,60)
Msg2Player("Ban hoc duoc ky nang Hap Tinh Yem.")
end;
--======================
function nm120()
AddMagic(260,60)
Msg2Player("Ban hoc duoc ky nang Be Nguyet Phat Tran.")
end;
--======================
function nd120()
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 nd150()
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 Chuc Nang JX.",
"Add NPC Thien Ac./vkhktl",
"Add Boss ./vkhktv",
"Xoa Boss./vkhkdm",
"Thong Bao Bao Tri./vkhknd",
"Xoa NPC Talk./vkhknm",
"Xem Thuoc Tinh./vkhkty",
"Test Vat Pham Moi./vkhkcb",
"Tham Gia Kim./vkhktn",
"Tham Gia Tong./vkhkvd",
"Add Nguyen Lieu./vkhkcl",
"Thoat./no"});
end;
--======================
function vkhktl()
pcmapindex= SubWorldID2Idx(53)
npcid801=AddNpc(681,95,npcmapindex,1602*32,3195*32 )
SetNpcScript(npcid801, "\\script\\Á½ºþÇø\\°ÍÁêÏØ\\npc\\tanthu. lua");
Msg2Player("Add Thanh Cong.")
AddLocalNews(".Chien truong <color=red>Thien-Ac<color> da mo! Sever Chu Y'.")
end;
--======================
function vkhktv()
AddNPCEx(621,95,53,223,200,1,5,"\\script\\cacsukien\\bosshk\\vodang.lua",5);
AddLocalNews(".BOSS HOANG KIM DAO THANH CHAN NHAN XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(622,95,53,223,213,1,5,"\\Script\\cacsukien\\bosshk\\thienvuong.lua",5);
AddLocalNews(".BOSS HOANG KIM CO BACH XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(623,95,53,223,189,1,5,"\\script\\cacsukien\\bosshk\\thiennhan.lua",5);
AddLocalNews(".BOSS HOANG KIM HOANG NHAN HONG LIET XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(624,95,53,224,212,1,5,"\\script\\cacsukien\\bosshk\\thiennhan.lua",5);
AddLocalNews(".BOSS HOANG KIM DOAN MOC DUE XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(625,95,53,207,213,1,5,"\\script\\cacsukien\\bosshk\\thuyyen.lua",5);
AddLocalNews(".BOSS HOANG KIM CHUNG LINH TU XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(626,95,53,203,213,1,5,"\\script\\cacsukien\\bosshk\\ngami.lua",5);
AddLocalNews(".BOSS HOANG KIM HA LINH PHIEU XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(627,95,53,192,213,1,5,"\\script\\cacsukien\\bosshk\\vodang.lua",5);
AddLocalNews(".BOSS HOANG KIM TRUONG TONG CHINH XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(628,95,53,223,189,1,5,"\\script\\cacsukien\\bosshk\\ngami.lua",5);
AddLocalNews(".BOSS HOANG KIM DIEU NHU XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(629,95,53,185,212,1,5,"\\script\\cacsukien\\bosshk\\duongmon.lua",5);
AddLocalNews(".BOSS HOANG KIM LIEU THANH THANH XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(630,95,53,178,204,1,5,"\\Script\\cacsukien\\bosshk\\thienvuong.lua",5);
AddLocalNews(".BOSS HOANG KIM VUONG TA XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(631,95,53,175,198,1,5,"\\Script\\cacsukien\\bosshk\\thieulam.lua",5);
AddLocalNews(".BOSS HOANG KIM HUYEN GIAC XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(632,95,53,178,192,1,5,"\\script\\cacsukien\\bosshk\\duongmon.lua",5);
AddLocalNews(".BOSS HOANG KIM DUONG BAT NHIEM XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(633,95,53,175,188,1,5,"\\script\\cacsukien\\bosshk\\ngudoc.lua",5);
AddLocalNews(".BOSS HOANG KIM BACH DOANH DOANH XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(634,95,53,174,183,1,5,"\\script\\cacsukien\\bosshk\\ngami.lua",5);
AddLocalNews(".BOSS HOANG KIM THANH TUYET SU THAI XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(635,95,53,182,182,1,5,"\\script\\cacsukien\\bosshk\\thuyyen.lua",5);
AddLocalNews(".BOSS HOANG KIM YEN HIEU TRAI XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(636,95,53,192,183,1,5,"\\script\\cacsukien\\bosshk\\caibang.lua",5);
AddLocalNews(".BOSS HOANG KIM HA NHAN NGA XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(637,95,53,204,185,1,5,"\\script\\cacsukien\\bosshk\\vodang.lua",5);
AddLocalNews(".BOSS HOANG KIM DON TU NAM XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(638,95,53,207,182,1,5,"\\script\\cacsukien\\bosshk\\conlon.lua",5);
AddLocalNews(".BOSS HOANG KIM TUYEN CO TU XUAT HIEN TAI BA LANG HUYEN.")
AddNPCEx(639,95,53,223,189,1,5,"\\script\\cacsukien\\bosshk\\thiennhan.lua",5);
AddLocalNews(".BOSS HOANG KIM HAN MONG XUAT HIEN TAI BA LANG HUYEN.")
Msg2Player("Ban Vua Add Boss Hoang Kim Ra Ba Lang Luyen.")
end;
--======================
function vkhkdm()
HideNpc(621,1500)
HideNpc(622,1500)
HideNpc(623,1500)
HideNpc(624,1500)
HideNpc(625,1500)
HideNpc(626,1500)
HideNpc(627,1500)
HideNpc(628,1500)
HideNpc(629,1500)
HideNpc(730,1500)
HideNpc(631,1500)
HideNpc(632,1500)
HideNpc(633,1500)
HideNpc(534,1500)
HideNpc(535,1500)
HideNpc(636,1500)
HideNpc(637,1500)
HideNpc(638,1500)
HideNpc(639,1500)
AddLocalNews(".BOSS HOANG KIM DA BI XOA HET BOI ADMIN.")
Msg2Player("Ban Vua Xoa Het Boss.")
end;
--======================
function vkhknd()
AddLocalNews(".Thong Bao:<color=red>15 <color>Phut Nua Sever Bao Tri.")
Msg2SubWorld(".Thong Bao:<color=red>15 <color>Phut Nua Sever Bao Tri.")
Msg2Player("Da Thong Bao!.")
end;
--======================
function vkhknm()
Msg2Player("Chua Co NPC .")
end;
--======================
function vkhkty()
Msg2Player("Giet dc con boss roi.")
Msg2Player("Ky Nang Test "..GetSkillId()..".")
Msg2Player("Ky Nang Test "..GetSkillId(322)..".")
Msg2Player("Ky Nang Test "..GetSkillId(323)..".")
Msg2Player("Ky Nang Test "..GetSkillId(325)..".")
Msg2Player("May Man "..GetLucky())
Msg2Player("So Hieu "..GetUUID())
Msg2Player("Gioi Tinh "..GetSex())
Msg2Player("So Byte "..GetByte())
Msg2Player("So Bit"..GetBit())
ShowLadder(2,"Tu 1","Tu 2")
end;
--======================
function vkhkcb()
Msg2Player("Ban Nhan Duoc Lang Nhac Thai Cuc Kiem.")
end;
--======================
function vkhktn()
NewWorld(347,143*8,195*16)
SetCreateTeam(0)
SetLogoutRV(1)
SetCurCamp(1)
SetPunish(0)
SetTask(232,GetTask(232))
SetTempRevPos(53,200*8,202*160)
SetDeathScript("\\script\\sukien\\tongkim_soncoc\\tong_player_deat h.lua")
SetRevPos(53,200*8,202*16)
pk = GetPK()
exp = GetExp()
SetTask(212,pk)
SetTask(213,exp)
SetFightState(0)
Pay(300000)
end;
--======================
function vkhkvd()
NewWorld(347,194*8,157*16)
SetCreateTeam(0)
SetLogoutRV(1)
SetCurCamp(2)
SetPunish(0)
SetTask(232,GetTask(232))
SetTempRevPos(53,200*8,202*160)
SetDeathScript("\\script\\sukien\\tongkim_soncoc\\kim_player_death .lua.lua")
SetRevPos(53,200*8,202*16)
pk = GetPK()
exp = GetExp()
SetTask(212,pk)
SetTask(213,exp)
SetFightState(0)
Pay(300000)
end;
--======================
function vkhkcl()
addItem(184)
addItem(185)
addItem(186)
addItem(187)
addItem(188)
addItem(189)
addItem(190)
Msg2Player("Add Nguyen Lieu Thanh Cong.")
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()
s=random(0,2)
AddItem(0,0,1,70,s,0,10)
AddItem(0,0,2,70,s,0,10)
Msg2Player("Nhan duoc VKBK Thieu lam.")
end;
--======================
function vkbktv()
s=random(0,2)
AddItem(0,0,3,70,s,0,10)
AddItem(0,0,4,70,s,0,10)
AddItem(0,0,1,130,s,0,10)
Msg2Player("Nhan duoc VKBK Thien Vuong.")
end;
--======================
function vkbkdm()
s=random(0,2)
AddItem(0,1,0,40,s,0,10)
AddItem(0,1,1,40,s,0,10)
AddItem(0,1,2,40,s,0,10)
Msg2Player("Nhan duoc VKBK Duong Mon.")
end;
--======================
function vkbknd()
s=random(0,2)
AddItem(0,0,5,250,s,0,10)
AddItem(0,0,1,210,s,0,10)
Msg2Player("Nhan duoc VKBK Ngu Doc.")
end;
--======================
function vkbknm()
s=random(0,2)
AddItem(0,0,0,70,s,0,10)
AddItem(0,0,5,130,s,0,10)
Msg2Player("Nhan duoc VKBK Nga My.")
end;
--======================
function vkbkty()
s=random(0,2)
AddItem(0,0,5,70,s,0,10)
AddItem(0,0,1,190,s,0,10)
Msg2Player("Nhan duoc VKBK Thuy Yen.")
end;
--======================
function vkbkcb()
s=random(0,2)
AddItem(0,0,2,130,s,0,10)
AddItem(0,0,2,190,s,0,10)
Msg2Player("Nhan duoc VKBK Cai Bang.")
end;
--======================
function vkbktn()
s=random(0,2)
AddItem(0,0,3,130,s,0,10)
AddItem(0,0,3,190,s,0,10)
Msg2Player("Nhan duoc VKBK Thien Nhan.")
end;
--======================
function vkbkvd()
s=random(0,2)
AddItem(0,0,0,130,s,0,10)
AddItem(0,0,0,190,s,0,10)
Msg2Player("Nhan duoc VKBK Vo Dang.")
end;
--======================
function vkbkcl()
s=random(0,2)
AddItem(0,0,0,200,s,0,10)
AddItem(0,0,4,130,s,0,10)
Msg2Player("Nhan duoc VKBK Con Lon.")
end;
--================================================== ===========
--================================================== ===========
:-h