• 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!

[Request] Need help setting a Level Limit to my server! Help please :)

Kram23

New Member
Joined
Nov 29, 2011
Messages
9
Reaction score
0
:huh: Hey guys, can anyone help me with a script that makes the max level for my character 100? If possible make a nice config box I saw an idea where Level Cap is 100, and you need to complete a quest to be able to get to 150... that would be nice but for now i just need a level cap...

I already attempted:
-Searching and testing all the other codes in the forum
-Exp Stages
-Config Lua has no "MaxPlayerLevel" or any of that...

And yea, ive tried alot for this =P if someone can help id appreciate it! Give ya some rep too loll ! ^_^
 
Cant you just put stages in config.lua to 0x at level 100?



If not, try doing this in globalevents

Code:
function onThink(cid, interval)
	if getPlayerLevel(cid) >= 100 then
		if getPlayerVocation(cid) < 9 then
			doPlayerSetExperienceRate(cid, 0)
		else
			doPlayerSetExperienceRate(cid, 10)
		end
	end
	return true
end
 
Last edited:
Yeaa i tried the exp stage thing but i didnt workk =/ as for your code i tried it in global events but im kinda rusty and barely remember how to configure it loll what would i put in the globalevents file?

so far what i tried didnt work with your code, i may be doing it wrong though :(

Still looking for help!
 
Back
Top