Crip Killa
♪Chasm Dev♪
- Joined
- Oct 19, 2008
- Messages
- 515
- Reaction score
- 44
Hello I need help with this how do I make it so that when a player chooses a certain vocation they don't lose levels when they die i'm using TFS 0.3.6
deathLostPercent = 10
deathLostPercent = 0
Add to login.lua;
LUA:if (getPlayerVocation(cid) == 1) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 0) end
(change '1' to the desired vocation id)
You need to insert the numbers of ALL YOUR VOCATIONS...than it should work^^