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

Solved any function that set player exp rate??

Status
Not open for further replies.

Slave Ots

LUA Newbie™
Joined
Jan 19, 2012
Messages
114
Reaction score
32
Location
/goto Slave Ots
hello OTLAND
i was wondering that if is there any function or any LUA code that
set the player exp rate
for example if player storage xx > 0 and storage xx < 100 then
the function set player exp rate to {rateSkill * 10}
and if player storage xx > 100 then
the function set player exp rate to {rateSkill * 5}
this is an example for explaining the code
ill rep++ for help
kind regards
Slave Ots
 
Lua:
doPlayerSetExtraExpRate(cid, value)

Lua:
doPlayerSetRate(cid, SKILL__LEVEL, getConfigValue('rateExperience')*10)
 
Status
Not open for further replies.
Back
Top Bottom