• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

TFS 1.1

Itutorial

Legendary OT User
Joined
Dec 23, 2014
Messages
2,461
Solutions
68
Reaction score
1,123
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