Keeq
New Member
- Joined
- Nov 6, 2012
- Messages
- 100
- Reaction score
- 0
Whats up fellas, I have a problem because I found the script on the Block Otland skills (been written and that it works at all)
SOORY MY BAD ENGLISH (TRANSLATOR)
But there is a problem because when skilujemy to 100 it is well more I can not stick because it is locked but when I log off and on again wlogujemy we can knock back one more skill, and so that everyone Logout. Can anyone help? giveReeppfunction onAdvance(cid, skill, oldLevel, newLevel)
if skill == SKILL_SWORD then
if getPlayerSkillLevel(cid, SKILL_SWORD) >= 100 then
doPlayerSetRate(cid, SKILL_SWORD, 0.0)
end
elseif skill == SKILL_SWORD then
if getPlayerSkillLevel(cid, SKILL_FIST) >= 100 then
doPlayerSetRate(cid, SKILL_FIST, 0.0)
end
return false
elseif skill == SKILL_AXE then
if getPlayerSkillLevel(cid, SKILL_AXE) >= 100 then
doPlayerSetRate(cid, SKILL_AXE, 0.0)
end
return false
elseif skill == SKILL_CLUB then
if getPlayerSkillLevel(cid, SKILL_CLUB) >= 100 then
doPlayerSetRate(cid, SKILL_CLUB, 0.0)
end
return false
elseif skill == SKILL_DISTANCE then
if getPlayerSkillLevel(cid, SKILL_DISTANCE) >= 100 then
doPlayerSetRate(cid, SKILL_DISTANCE, 0.0)
end
return false
elseif skill == SKILL_SHIELD then
if getPlayerSkillLevel(cid, SKILL_FIST) >= 100 then
doPlayerSetRate(cid, SKILL_FIST, 0.0)
end
return false
elseif skill == SKILL_FISH then
if getPlayerSkillLevel(cid, SKILL_FISH) >= 100 then
doPlayerSetRate(cid, SKILL_FISH, 0.0)
end
return false
end
end
SOORY MY BAD ENGLISH (TRANSLATOR)