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

Only Lose BP on death.

Skylinx

Game Programmer
Joined
Nov 26, 2008
Messages
399
Reaction score
15
Location
TORONTO, CANADA
Hey guys.
Just wondering if it's possible to make it so the player will ONLY lose their backpack upon death. Not their items or equips, JUST the backpack. (And everything thats in it of course)

Not sure if it's source related or can be done through LUA.

Any information appreciated.
Thanks and rep+ to anyone who can help.

--EDIT--
SOLVED:
IN
Login.LUA
ADD
Code:
doPlayerSetLossPercent(cid, PLAYERLOSS_CONTAINERS, 100)
doPlayerSetLossPercent(cid, PLAYERLOSS_ITEMS, 0)

Thread can be closed.
 
Last edited:
Back
Top