luccagomes
New Member
- Joined
- Jul 30, 2015
- Messages
- 153
- Reaction score
- 1
Code:
local axeskill = getPlayerSkillLevel(cid, SKILL_AXE)
local swordskill = getPlayerSkillLevel(cid, SKILL_CLUB)
local clubskill = getPlayerSkillLevel(cid, SKILL_SWORD)
if (axeskill > swordskill and axeskill > clubskill) then
doPlayerAddSkillTry(cid, SKILL_AXE, axeqnt * axestages)
elseif (swordskill > axeskill and swordskill > clubskill) then
doPlayerAddSkillTry(cid, SKILL_SWORD, swordqnt * swordstages)
elseif (clubskill > axeskill and clubskill > swordskill) then
doPlayerAddSkillTry(cid, SKILL_CLUB, clubqnt * clubstages)
else -- negando tudo se bugar sei la
doPlayerAddSkillTry(cid, SKILL_SWORD, swordqnt * swordstages)
end
i was skill
club : 25
sword : 57
and when i use this part script it add CLUB SKILL
doPlayerAddSkillTry(cid, SKILL_CLUB, clubqnt * clubstages)
why? what i supossedd to do?