Nevalopo
Demigod
Players Loose items. How to stop it? I don't want them to loose either backpack or items.
Thanks for any help i can get.
Thanks for any help i can get.
UPDATE `players` SET `loss_items`=0;
UPDATE `players` SET `loss_containers`=0;
local loss = getConfigValue('itemLostPercent')
if(loss ~= nil) then
doPlayerSetLossPercent(cid, PLAYERLOSS_ITEMS, loss * 0)
end
UPDATE `players` SET `loss_containers`=0;
db.executeQuery ("UPDATE `players` SET `loss_containers`=0;")
function onLogin(cid)
local loss = getConfigValue('deathLostPercent')
if(loss ~= nil) then
doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 7)
doPlayerSetLossPercent(cid, PLAYERLOSS_MANA, loss * 7)
doPlayerSetLossPercent(cid, PLAYERLOSS_SKILLS, loss * 7)
doPlayerSetLossPercent(cid, PLAYERLOSS_CONTAINERS, loss * 7)
end
false instead of 0 ? ;SdoCreatureSetDropLoot(cid, 0)?