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

Stamina bonus +1 hour double exp

creaturescript onKill

LUA:
function onKill(cid, target, lastHit)

local minExp = 100
local maxExp = 1000
--Player will recieve between 100 and 1000 extra exp.

if(isVip(cid)) then--Change to ur own vip checking function ofc ;)
local rand = math.random(minExp, maxHp)
doPlayerAddExperience(cid, rand)
end

end

or in ur login.lua put like
LUA:
if(isVip(cid)) then--Change to ur own vip check func
doPlayerSetExtraExpRate(cid, 1)
end

It's really simple shit, seriously ppl should learn to code if they want their own ots -.-' in the old days u wouldn't get help like this all the time.. wish it was more like back then :ninja:
 
thx man i manage one ot alone and sometimes i getting bored i know is quite simple thx again :p

hmm how to edit to gain 50% + exp
 
Last edited by a moderator:
Back
Top