• 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,018
Solutions
1
Reaction score
1,040
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
 
Back
Top