Skylinx
Game Programmer
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
Thread can be closed.
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: