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

TFS 1.1

Itutorial

Board Moderator
Staff member
Board Moderator
Joined
Dec 23, 2014
Messages
2,462
Solutions
68
Reaction score
1,129
What is function for doPlayerAddSpentMana(cid, amount) in TFS 1.x?
 
Code:
p:addManaSpent(mana * configManager.getNumber(configKeys.RATE_MAGIC)) or false end
mana spent also adds the rate_magic so you can delete it from that func or it will be mana * configManager.getNumber(configKeys.RATE_MAGIC) * configManager.getNumber(configKeys.RATE_MAGIC)
 
yea I just deleted my post, cause I realized I copied wrong thing and Sir Islam beat me too it ><

@Sir Islam
I heard there is a way too add these functions too my notepad++
too make it easier too make scripts?
do u know about this? :P

-Martin
 
Back
Top