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

(Help) Higher Exp For Vip

try this:
Code:
function onLogin(cid)
if getPlayerStorageValue(cid, 11551) > 0 then
doPlayerSetExperienceRate(cid, 1.2)
else
doPlayerSetExperienceRate(cid, 1)
end
return TRUE
end
 
I havent tested it yet but if it works ill give rep btw any clue if theres a way to make a talkaction to see how many days of vip you have left while using that script example !vip.

That would require much more of a script, and also using unix.timestamp().
 
Yeah I tested it and there was no change to the exp I might have put the wrong code in the xml
Code:
	<event type="login" name="exprate" script="login2.lua"/>
Is what I used in the creaturescripts.xml im new at this and have no clue what I was doing lol so let me know if I put that in the wrong place.
 
try this:
Code:
function onLogin(cid)
if getPlayerStorageValue(cid, 11551) > 0 then
setPlayerExtraExpRate(cid, 1.2)
else
setPlayerExtraExpRate(cid, 1)
end
return TRUE
end
 

Similar threads

Back
Top