docthuthanlong
02-02-12, 08:32 PM
Mình có cái code phi phong và ấn 8 như thế này, bạn nào chỉ mình sửa lại cho nó có thể bán được vào shop với
Phi phong:
function tbGift: PhiPhong()
me.AddItem(1,17,10,10,5,1);
me.AddItem(1,17,9,10,5,1);
me.AddItem(1,17,8,10,4,1);
me.AddItem(1,17,7,10,4,1);
me.AddItem(1,17,6,10,3,1);
me.AddItem(1,17,5,10,3,1);
me.AddItem(1,17,4,10,2,1);
me.AddItem(1,17,3,10,2,1);
me.AddItem(1,17,2,10,1,1);
me.AddItem(1,17,1,10,1,1);
end
và Ấn 8
function tbGift:QuanAn8()
me.AddItem(1,18,1,8,1,1);
me.AddItem(1,18,2,8,2,1);
me.AddItem(1,18,3,8,3,1);
me.AddItem(1,18,4,8,4,1);
me.AddItem(1,18,5,8,5,1);
end
Phi phong:
function tbGift: PhiPhong()
me.AddItem(1,17,10,10,5,1);
me.AddItem(1,17,9,10,5,1);
me.AddItem(1,17,8,10,4,1);
me.AddItem(1,17,7,10,4,1);
me.AddItem(1,17,6,10,3,1);
me.AddItem(1,17,5,10,3,1);
me.AddItem(1,17,4,10,2,1);
me.AddItem(1,17,3,10,2,1);
me.AddItem(1,17,2,10,1,1);
me.AddItem(1,17,1,10,1,1);
end
và Ấn 8
function tbGift:QuanAn8()
me.AddItem(1,18,1,8,1,1);
me.AddItem(1,18,2,8,2,1);
me.AddItem(1,18,3,8,3,1);
me.AddItem(1,18,4,8,4,1);
me.AddItem(1,18,5,8,5,1);
end