• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

LowMagicLevel&SkillLock

Vrotz

Member
Joined
Apr 7, 2011
Messages
1,071
Reaction score
7
Location
Brazil
Hi,

I've that script:
function onLogin(cid)

if getPlayerLevel(cid) < 50 then
doPlayerAddExperience(cid, (getExperienceForLevel(50) - getPlayerExperience(cid)))
end
return true
end

This script is to dont lose more exp below level 50 or less. How i do to players born with skill 70/70 and magic level 45 and dont lose skills percents below skill 70&ml45?

The same system of lowlevelock to skills and magic levels.

Tks.
 
Back
Top