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

Map clean but dont remove specific items

Tbol

Well-Known Member
Joined
Apr 7, 2019
Messages
526
Reaction score
54
TFS 1.2 How can i make that when map clean happens it wont remove specific items from the map, what im using right now
Lua:
function onThink(interval)
    broadcastMessage("Map clean in 5 minutes.", MESSAGE_STATUS_WARNING)
    addEvent(function() broadcastMessage("Map clean in 3 minutes.", MESSAGE_STATUS_WARNING) end, 2 * 60 * 1000)
    addEvent(function() broadcastMessage("Map clean in 1 minute.", MESSAGE_STATUS_WARNING) end, 4 * 60 * 1000)
    addEvent(function()
        saveServer()
        cleanMap()
        broadcastMessage("Map cleaned. Next clean in 2 Hours", MESSAGE_STATUS_WARNING)
    end, 5 * 60 * 1000)
    return true
end
 
TFS 1.2 How can i make that when map clean happens it wont remove specific items from the map, what im using right now
Lua:
function onThink(interval)
    broadcastMessage("Map clean in 5 minutes.", MESSAGE_STATUS_WARNING)
    addEvent(function() broadcastMessage("Map clean in 3 minutes.", MESSAGE_STATUS_WARNING) end, 2 * 60 * 1000)
    addEvent(function() broadcastMessage("Map clean in 1 minute.", MESSAGE_STATUS_WARNING) end, 4 * 60 * 1000)
    addEvent(function()
        saveServer()
        cleanMap()
        broadcastMessage("Map cleaned. Next clean in 2 Hours", MESSAGE_STATUS_WARNING)
    end, 5 * 60 * 1000)
    return true
end
What do you mean specific?
If i remember in 1.2 map clean dotn clean items from PZ.
 
Back
Top