• 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 Problem with pacc & promotion!

WaderoS

New Member
Joined
Nov 22, 2008
Messages
98
Reaction score
1
Hello i'm using TFS 0.3.6PL1 and i've got problem with pacc & promotion.

Problem Description:
I'm PALADIN.
I've got pacc and i go promotion. Everything is OK.
Now i'm ROYAL PALADIN.
pacc ends and ...
... and i've got all the time "ROYAL PALADIN" (when i am facc..), mana and hp [etc] is going up like for a PALADIN.
I buy pacc (sms shop) and i've got "ROYAL PALADIN" but... mana nad hp [etc] is going up like for paladin...

Please, help it's realy big problem.
 
Paste this into your login.lua after
function onLogin(cid)
Lua:
if getPlayerVocation(cid) == 7 and getPlayerPremiumDays(cid) < 1 then
doPlayerSetVocation(cid, 3)
doPlayerSave(cid)
end
 
Back
Top