jxnoob
23-04-10, 01:00 PM
Nhân Ngày Giỗ Tồ Hùng Vương Share Một Script Nhỏ Cho Anh Em :D
Include("\\Script\\Global\\Serverlib.lua");
function main(sel)
SayEx({"<color=red>Hung Vuong Thu 18<color>:Nguoi Den Day Lam Gi ?","Lam Le Gio To/gio","Noi Chuyen/noi","Thoat/no"});
end;
function gio()
if (GetItemCount(195) >=1) ----- Nhac Vuong Kiem
and (GetItemCount(397) >=1) ------ Gao Nep
and (GetCash() >=100000000)
and (GetTask(TaskTienDong) >= 100) then
SetTask (TaskTienDong,GetTask(TaskTienDong) -100)
for i=195,397 do DelItem(i) end
Pay(100000000)
AddEvenItem(343)
MsgEx("Ban Nhan Duoc 1 KNB")
else
Talk(1,"","Nguoi Khong Du Trinh Do De Dang Huong.Hay Mang Theo 1 Nhac Vuong Kiem + Gao Nep + 100 Tien Dong + 10kv.Luc Do Hay Den Gap Ta");
end
end;
function noi()
Talk(1,"","Hom Nay La Ngay Gio To Cua Hung Vuong Lon Nhat Tu Truoc Toi Nay Nguoi Hay Chuan Bi Don Nhan")
end;
function no()
Talk("Chuc May Man Lan Sau Nhe")
end;
Include("\\Script\\Global\\Serverlib.lua");
function main(sel)
SayEx({"<color=red>Hung Vuong Thu 18<color>:Nguoi Den Day Lam Gi ?","Lam Le Gio To/gio","Noi Chuyen/noi","Thoat/no"});
end;
function gio()
if (GetItemCount(195) >=1) ----- Nhac Vuong Kiem
and (GetItemCount(397) >=1) ------ Gao Nep
and (GetCash() >=100000000)
and (GetTask(TaskTienDong) >= 100) then
SetTask (TaskTienDong,GetTask(TaskTienDong) -100)
for i=195,397 do DelItem(i) end
Pay(100000000)
AddEvenItem(343)
MsgEx("Ban Nhan Duoc 1 KNB")
else
Talk(1,"","Nguoi Khong Du Trinh Do De Dang Huong.Hay Mang Theo 1 Nhac Vuong Kiem + Gao Nep + 100 Tien Dong + 10kv.Luc Do Hay Den Gap Ta");
end
end;
function noi()
Talk(1,"","Hom Nay La Ngay Gio To Cua Hung Vuong Lon Nhat Tu Truoc Toi Nay Nguoi Hay Chuan Bi Don Nhan")
end;
function no()
Talk("Chuc May Man Lan Sau Nhe")
end;