I Had Problem. Can u help me?
This Problem about SKILL
This is
ALLSKILL={
[1]={11,1,2,53,196,197,198,199,200,201,210,}, ID SKILL
[21]={11,"Tan Cong Vat Ly","Tan Cong Vat Ly Tu Xa","Doan Binh Sat Thuong Vat Ly","Nhung Thach Dau","Suy Mao","Phun Mao","Tho Khau Thuy","Tho Doc Thuy","Xa Tien","Khinh Cong",}, Name Skill
..............................
I Have a Function
This function had Error but I can fix it
IF U can, plz help me!
I Saw in station.lua had same function!
PLZZZZZZZZZZZZZZZZZZZ
:drinks_no
This Problem about SKILL
This is
ALLSKILL={
[1]={11,1,2,53,196,197,198,199,200,201,210,}, ID SKILL
[21]={11,"Tan Cong Vat Ly","Tan Cong Vat Ly Tu Xa","Doan Binh Sat Thuong Vat Ly","Nhung Thach Dau","Suy Mao","Phun Mao","Tho Khau Thuy","Tho Doc Thuy","Xa Tien","Khinh Cong",}, Name Skill
..............................
I Have a Function
function hocphepmonphai()
id=1 --Test for One
idphep=0
tinhtrang={};
num=0
for i=2,ALLSKILL[id][1] do
Msg2Player(ALLSKILL[id+20] .." [".. ALLSKILL[id] .."] ".. HaveMagic(ALLSKILL[id])) --Check line
idphep=ALLSKILL[id]
if HaveMagic(ALLSKILL[id][idphep])==1 then --Check Skill Had?
--nothing to else
else
num=num+1
HaveBin[num]=ALLSKILL[id+20] .."/skill"
Msg2Player("Chua duoc hoc! ".. ALLSKILL[id+20])--Check line
end
end
num=num+1
HaveBin[num]="Nothing to else/OnCancel"
say("Nguoi chi duoc phep hoc 7 Skill neu co tinh hoc qua se roi loan kinh mach ma chet!", num, HaveBin) <<== This is Error: 'say' <is nil values> In GameServer Window
end;
This function had Error but I can fix it
IF U can, plz help me!
I Saw in station.lua had same function!
PLZZZZZZZZZZZZZZZZZZZ
:drinks_no