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

bless dont protekt items on death

@Ninja idk how to change anything in phpmyadmin, what shold i look for :)
@HalfAway all 5 bless yes. here is bless.lua
Code:
-- [(  Script edited by: DoidinMapper )] --
function onSay(cid, words, param)
if getPlayerBlessing(cid, 1) or getPlayerBlessing(cid, 2) or getPlayerBlessing(cid, 3) or getPlayerBlessing(cid, 4) or getPlayerBlessing(cid, 5) then
doPlayerSendCancel(cid,'You have already got one or more blessings!')
else
if doPlayerRemoveMoney(cid, 50000) == TRUE then
doPlayerAddBlessing(cid, 1)
doPlayerAddBlessing(cid, 2)
doPlayerAddBlessing(cid, 3)
doPlayerAddBlessing(cid, 4)
doPlayerAddBlessing(cid, 5)
doSendMagicEffect(getPlayerPosition(cid), 28)
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'You have been blessed by the gods!')
else
doPlayerSendCancel(cid, "You need 50.000 gold coins to get blessed!")
end
end
return TRUE
end
 
You should look for loss_items in players table.

If the player is fully blessed (blessing = 31 in the blessing field) then loss_items should be at 0 which means no item drop.
 
its bless = 0 and item_loss = 100 even tho i bless in game i dont think it registers

---UPDATE---
i changed bless = 31 and loss = 0 in phpmyadin and died on my char i kept all items but lost the bag but you often dont lose items after first death anyway :/
but it dident change back when i died so i changed it back and i lost all items

what is this i found it in config.lua @Ninja
Code:
deathContainerId = 1987
 
Last edited:
It's the container your character spawns with after losing their backpack, in your case it's a regular bag.
 
Back
Top