xavierek
New Member
- Joined
- Apr 11, 2009
- Messages
- 209
- Reaction score
- 0
for i = 1,7 do
win_skill = 0
loss_skill = 0
win_skill = getPlayerSkill(attacker, i)
loss_skill = getPlayerSkill(cid, i)
print("Skill : "..win_skill.."") < -- return on console [01/04/2011 14:13:51] data/creaturescripts/scripts/dd.lua:46: attempt to concatenate field '?' (a boolean value)
i = i+1
end
if i made script oggly like print (""..getPlayerSkill(cid, 2).."") its work wtf ?
if i use win_skill[2] or other index numer or loss array its dont work ;/ same error
some one can help why i need it in int i need add it to DbMysql
win_skill = 0
loss_skill = 0
win_skill = getPlayerSkill(attacker, i)
loss_skill = getPlayerSkill(cid, i)
print("Skill : "..win_skill.."") < -- return on console [01/04/2011 14:13:51] data/creaturescripts/scripts/dd.lua:46: attempt to concatenate field '?' (a boolean value)
i = i+1
end
if i made script oggly like print (""..getPlayerSkill(cid, 2).."") its work wtf ?
if i use win_skill[2] or other index numer or loss array its dont work ;/ same error
some one can help why i need it in int i need add it to DbMysql
Last edited: