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

Script

Dixtro

New Member
Joined
May 4, 2010
Messages
49
Reaction score
3
Location
Poland!
Hmm i need one script "if player get xx lv then he dont lose exp" e.g. "Player get 20lv and when he die he again have 20lv" but if "player get 21lv and he die he have 20lv;d"
 
LUA:
local minlvl = 20

function onLogin(cid)
    if getPlayerLevel(cid) < minlvl then
        doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 0)
    end
return true
end
Lol, I don't know the 'xx' :P I have to find what type of losstype is experience
 
Last edited:
Back
Top