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

More Exp For Donators! HELP!

Exedion

Active Member
Joined
Jun 11, 2007
Messages
628
Reaction score
30
i try to give more exp for my donator system (group 3) the par of the storage value is perfect (for other system) but the part of the rate no work! (dont give me error in console) please help!

PHP:
function onLogin(cid)

local vip = 5

	if getPlayerGroupId(cid) < 3 then
		setPlayerStorageValue(cid, storages.petIsOnline, 2)
	elseif getPlayerGroupId(cid) == 3 then
		doPlayerSetRate(cid, LEVEL_EXPERIENCE, vip)
	end
return TRUE
end
 
lol
i dunno what script are you using with that, but the part of the rate 'no' work! then change it...
PHP:
	doPlayerSetExperienceRate(cid, vip)
 
[ 0.3.3
LuaFunction: doPlayerSetExperienceRate, doPlayerSetMagicRate, use: doPlayerSetRate(... __LEVEL/__MAGLEVEL ...)
]


part of the changuelog of TFS 0.3.3, These function don't work more!
 
doPlayerSetRate(cid, 8, vip)

Code:
SKILL_FIST = 0
SKILL_CLUB = 1
SKILL_SWORD = 2
SKILL_AXE = 3
SKILL_DISTANCE = 4
SKILL_SHIELD = 5
SKILL_FISHING = 6
SKILL__MAGLEVEL = 7
SKILL__LEVEL = 8
 
Back
Top