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

Something like getPlayerExtraExpRate(cid)

Scooty

Enemia.EU
Joined
Jul 24, 2010
Messages
564
Reaction score
14
Location
Kraków
Hi!

in oldest tfs revs was function "getPlayerExtraExpRate". I have rev. 3862 and i have only "doPlayerSetExperienceRate". But i need GET, not SET. Is it possible to write "getPlayerExtraExpRate" function(or something like that) to my rev?

Please help
 
Code:
SKILL_FIST = [COLOR="red"][B]0[/B][/COLOR]
SKILL_CLUB = [COLOR="red"][B]1[/B][/COLOR]
SKILL_SWORD = [COLOR="red"][B]2[/B][/COLOR]
SKILL_AXE = [COLOR="red"][B]3[/B][/COLOR]
SKILL_DISTANCE =[COLOR="red"][B] 4[/B][/COLOR]
SKILL_SHIELD =[COLOR="red"][B] 5[/B][/COLOR]
SKILL_FISHING = [COLOR="red"][B]6[/B][/COLOR]
SKILL__MAGLEVEL = [COLOR="red"][B]7[/B][/COLOR]
SKILL__LEVEL = [COLOR="red"][B]8[/B][/COLOR]

Code:
getPlayerRates(cid)[[COLOR="red"][B]0[/B][/COLOR]] [B]<-- fist skill rate[/B]
[B]......[/B]
getPlayerRates(cid)[[COLOR="red"][B]7[/B][/COLOR]] [B]<-- magicLevel rate[/B]
getPlayerRates(cid)[[COLOR="red"][B]8[/B][/COLOR]] [B]<-- exp rate[/B]



Exmple use:
LUA:
doPlayerSendCancel(cid, getPlayerRates(cid)[8])
 
Back
Top