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

[TFS 1.0] Players below lvl 80 won't lose items (unless skulled)

EvoSoft

Is Da Mapper
Joined
Mar 10, 2010
Messages
693
Reaction score
5
Location
Northen part of Sweden
I know this script exists here, but I can't find it.. Is it maybe my useless searching skills? I don't know.. But this is an opportunity for you to showoff your searching skills!

Thanks!
 
Code:
function onPrepareDeath(cid, killer)
    local player = Player(cid)
    if not player then
        return true
    end
   
    if not isInArray({3, 4, 5}, player:getSkull()) and player:getLevel() < 80 then
        player:setDropLoot(false)
    end
   
    return true
end
 
Back
Top