• 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.3] 8.6 > worng at Cast-player

Jan jack

New Member
Joined
Apr 2, 2020
Messages
66
Reaction score
2
Can any one help me Sourc 2020 IS BUG
my map noobwar -player lose items-cast worng
dddd.jpgddf.jpgddf.jpg
 
conifg
deathLostPercent = 7
deathContainerId = 1987

-- Deathlist
deathListEnabled = true
deathListRequiredTime = 1 * 60 * 1000
deathAssistCount = 19
maxDeathRecords = 5
local reward = {
item = 5953, --ITEM ID!
count = 1 -- How many?
}
function onDeath(cid, corpse, deathList)
for i = 1, #deathList do
if isPlayer(deathList) and getPlayerIp(cid) ~= getPlayerIp(deathList) then
doPlayerAddItem(deathList, reward.item, reward.count)
end
end
return true
end
 

Attachments

Last edited:
when i use sourc 2010 TheForgottenServer > player no lose items
in sourc TheForgottenServer 2020 player lose items like
Post automatically merged:

some one online help?
 

Attachments

Last edited:
you need enter the player table then click 'structure' at the top panel and search for 'loss_items' column. Edit its value if is 0 set to 100 and vice verse.
 
dunno what you have changed but try to change the value each player while they are offline. If it works then change the value permamently as default.
 
Back
Top