Sounds like it's working to me. Maybe you should try making the percent higher..people dont drop items know maybe 1 time after 10 deaths.
what scriptthat script make my tfs crash..
function onLogin(cid)
local loss = getConfigValue('deathLostPercent')
if(loss ~= nil) then
doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10)
doPlayerSetLossPercent(cid, PLAYERLOSS_ITEMS, 100)
end