• 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

Rachaw

Experienced Member
Joined
Oct 17, 2009
Messages
602
Reaction score
1
Location
Tha Sweden
getPlayerLevel(cid, 50)

when a player gets lvl he gets a reward please make the script or the function


getPlayerLevel(cid, 50)
and
function onAdvance(cid, skill, oldlevel, newlevel)

those i sude use?

/rach
 
If getPlayerLevel == 50 then
action
doPlayerAddStorageValue(cid,value)

Something like that. First check the the value, so players cant abuse it killing themselves and receive the reward every time they advance to level 50..
 
Back
Top