Welcome on Poseidon Leaks

Register Now !!!

[GUIDE] Automatic prop deletion

Russik

Founder
Staff member
Founder
LV
3
 
Awards
5
If there are too many ymap/mlo on your server, the code line I will give below may be useful for you. The task of the code line is to delete objects such as props falling on the ground in the map every 3 minutes, you can write it in any client to make it work.
Code:
Citizen.CreateThread(function()
    while true do
        Citizen.Wait(300000)

        ClearAllBrokenGlass()
        ClearAllHelpMessages()
        LeaderboardsReadClearAll()
        ClearBrief()
        ClearGpsFlags()
        ClearPrints()
        ClearSmallPrints()
        ClearReplayStats()
        LeaderboardsClearCacheData()
        ClearFocus()
        ClearHdArea()
    end
end)
 
Top