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

Lua function to set level?

Evan

A splendid one to behold
Senator
Premium User
Joined
May 6, 2009
Messages
7,019
Solutions
1
Reaction score
1,029
Location
United States
I remember back then there was a function called:
Lua:
doPlayerSetLevel(cid, 110)

Is there such thing with a different name now? Is there an alternate? If so, how do I do that?













EDIT: nevermind, I found it :)

Lua:
function doPlayerSetLevel(cid, level)
    return doPlayerAddExp(cid, (getExperienceForLevel(level) - getPlayerExperience(cid))) or FALSE
end
 

Similar threads

Back
Top