function onPlayerWasted()
local ban = banPlayer ( source, false, false, true, nil, "Foste Morto!", 0 )
setTimer(function(ban)
if (ban) then
removeBan(ban)
end
end, 20000, 1, ban)
end
addEventHandler ( "onPlayerWasted", root, onPlayerWasted )
function onResourceStart()
for i, v in ipairs(getBans()) do
local reason = getBanReason(v)
if (reason == "Foste Morto!") then
removeBan(v)
end
end
end
addEventHandler ( "onResourceStart", resourceRoot, onResourceStart )