Linh_JX
14-07-13, 09:56 AM
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
function loidai()
ngay = tonumber(date("%d"))
gio = tonumber(date("%H"))
phut = tonumber(date("%M"))
giay = tonumber(date("%S"))
if gio >= 8 and gio <= 22 then
if phut == 28 or phut == 29 then
Msg2SubWorld("Su Kien Loi Dai Hon Chien Sap Bat Dau. Anh Em Den NPC Loi Dai Ti Vo - 199/198 - Ba Lang Huyen De Bao Danh Ne")
end
end
if gio >= 8 and gio <= 22 then
if phut >= 35 and phut < 45 then
for i=1,200 do
PlayerIndex = i
kiemtra1()
end
elseif phut == 45 and giay == 0 then
for e=1,200 do
PlayerIndex = e
kiemtra2()
end
end
end
end
function kiemtra1()
w,x,y = GetWorldPos()
if w == 210 then
SetCurCamp(4)
SetCamp(4)
SetFightState(1)
end
end
function tmdghtvt()
w,x,y = GetWorldPos()
if w == 53 then
--if (GetTask(188) >= 1) then
LeaveTeam()
NewWorld(210, 203*8, 200*16);
SetTempRevPos(210,floor((203+1/10)*8*32),floor((200 +6/10)*16*32))
Msg2Player("Ban da vao Giang Ho Ti Vo truong")
SetDeathScript("\\script\\loidai\\thuatranck.lua")
SetCamp(0)
SetCurCamp(0)
SetPunish(0)
SetFightState(1)
SetCreateTeam(0);
--else
--Talk(1,"","Nguoi khong co du <color=red>Cs 1<color>, khong the vao Ti Vo truong")
end;
function kiemtra2()
w,x,y = GetWorldPos()
if w == 210 then
SetCurCamp(0)
SetCamp(0)
SetTempRevPos(53,floor((200+1/10)*8*32),floor((200 +6/10)*16*32))
MoveNPC(53,200,200,8,4,500,0);
Msg2Player("Loi Dai Hon Chien Ket Thuc!!!!!")
end
end
end
function loidai()
ngay = tonumber(date("%d"))
gio = tonumber(date("%H"))
phut = tonumber(date("%M"))
giay = tonumber(date("%S"))
if gio >= 8 and gio <= 22 then
if phut == 28 or phut == 29 then
Msg2SubWorld("Su Kien Loi Dai Hon Chien Sap Bat Dau. Anh Em Den NPC Loi Dai Ti Vo - 199/198 - Ba Lang Huyen De Bao Danh Ne")
end
end
if gio >= 8 and gio <= 22 then
if phut >= 35 and phut < 45 then
for i=1,200 do
PlayerIndex = i
kiemtra1()
end
elseif phut == 45 and giay == 0 then
for e=1,200 do
PlayerIndex = e
kiemtra2()
end
end
end
end
function kiemtra1()
w,x,y = GetWorldPos()
if w == 210 then
SetCurCamp(4)
SetCamp(4)
SetFightState(1)
end
end
function tmdghtvt()
w,x,y = GetWorldPos()
if w == 53 then
--if (GetTask(188) >= 1) then
LeaveTeam()
NewWorld(210, 203*8, 200*16);
SetTempRevPos(210,floor((203+1/10)*8*32),floor((200 +6/10)*16*32))
Msg2Player("Ban da vao Giang Ho Ti Vo truong")
SetDeathScript("\\script\\loidai\\thuatranck.lua")
SetCamp(0)
SetCurCamp(0)
SetPunish(0)
SetFightState(1)
SetCreateTeam(0);
--else
--Talk(1,"","Nguoi khong co du <color=red>Cs 1<color>, khong the vao Ti Vo truong")
end;
function kiemtra2()
w,x,y = GetWorldPos()
if w == 210 then
SetCurCamp(0)
SetCamp(0)
SetTempRevPos(53,floor((200+1/10)*8*32),floor((200 +6/10)*16*32))
MoveNPC(53,200,200,8,4,500,0);
Msg2Player("Loi Dai Hon Chien Ket Thuc!!!!!")
end
end
end