PDA

View Full Version : ai xem dùm với



nhoxpk2707
17-08-10, 06:12 PM
Include("\\script\\da_tau\\datau.lua")
function main(sel)
Say("Nguoi muon nhan gi",6,"trang bi vip/gamems","tang cap/exp200","kill kiem the/kill","xin tien/nganvan","tien xu/tienxu","kinang/kynang200")
end;
function gamems()
AddItem(0,4,18,1,0,0,10)
AddItem(0,2,45,1,0,0,10)
AddItem(0,6,18,1,0,0,10)
AddItem(0,5,20,1,0,0,10)
AddItem(0,8,18,1,0,0,10)
AddItem(0,7,30,1,0,0,10)
AddItem(0,9,18,1,0,0,10)
AddItem(0,3,23,1,0,0,10)
AddItem(0,3,23,2,0,0,10)
AddItem(0,10,14,1,0,0,0)
Msg2Player("Nhan duoc Trang bi rieng cua [GameMasTer]")
end;
function kill()
AddMagic(290,100)
AddMagic(288,60)
AddMagic(286,60)
AddMagic(285,60)
AddMagic(293,60)
AddMagic(295,60)
AddMagic(297,60)
AddMagic(299,60)
AddMagic(300,60)
AddMagic(310,60)
AddMagic(312,60)
AddMagic(313,60)
AddMagic(315,60)
AddMagic(445,60)
AddMagic(443,60)
AddMagic(439,60)
AddMagic(442,60)
AddMagic(454,60)
AddMagic(446,60)
AddMagic(455,60)
AddMagic(451,60)
AddMagic(448,60)
AddMagic(295,60)
AddMagic(297,60)
AddMagic(300,60)
AddMagic(417,60)
Msg2Player("Ban nhan duoc kill.")
end;
--================================================
function exp200()
for i=1,200 do AddOwnExp(999999999) end
Msg2Player("Ban nhan duoc Kinh Nghiem.")
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 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;
ai xem dùm em cái hàm này co lỗi gì không ^^

[S]ocola[S]an
17-08-10, 06:13 PM
AddMagic(290,100) Nghi lắm đây
Với lại mốt mún check lỗi thì nhờ gameserver.exe check dùm ý :|

zonjkut3
17-08-10, 06:16 PM
function ko đc để số

tang cap/exp200

đổi thành

tang cap/exp


function exp200()
đổi thành

function exp()

nhoxpk2707
17-08-10, 06:18 PM
làm theo 2 anh đã fix được thank ^^ mod oi close toptic