Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
RavenAC

Guide Automatic prop deletion

Ares

VAG
Admin
Joined
May 6, 2021
Messages
547
Reaction score
97,620
Points
411
Location
root
Website
vag.gg
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)
 

Mackann

Bronze Elite
Joined
Jul 17, 2022
Messages
20
Reaction score
2
Points
166
Location
sweden
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)
 

Lakrous

Member
Joined
May 14, 2021
Messages
13
Reaction score
0
Points
156
Its better to use with syncing server-side than client..
Code:
SV-SIDE
CreateThread(function()
    while true do
        Wait(30000)
        for _, playerId in ipairs(GetPlayers()) do
            TriggerClientEvent('sync-resetlamps', playerId)
        end
    end

end)
CL-SIDE
RegisterNetEvent('sync-resetlamps',function()
    ClearAllBrokenGlass()
    ClearAllHelpMessages()
    LeaderboardsReadClearAll()
    ClearBrief()
    ClearGpsFlags()
    ClearPrints()
    ClearSmallPrints()
    ClearReplayStats()
    LeaderboardsClearCacheData()
    ClearFocus()
    ClearHdArea()
end)
 

nufrp

Member
Joined
Jan 2, 2024
Messages
2
Reaction score
0
Points
146
Location
usa
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)
kddfsdsfsdfs
 

dcarrello89

Bronze Elite
Joined
Mar 25, 2024
Messages
13
Reaction score
9
Points
166
Location
kankakee
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)
yooo good stuff
 
Top