Jump to content
[IL] KingCrazyHunter

[TUTORIAL] Repetitive Cleanup Script

Recommended Posts

Author: aeroson

Difficulty: Easy

Version: All

Description: (Customizable) Cleans up dead bodies, blown up vehicles, damaged vehicles, dropped weapons, explosives, and smokes & chemlights

First, go into your main mission directory and create a folder called scripts if you do not have one already and put in the following file:


go back into your main mission directory and open your init.sqf and paste this on the last line

    8*60, // seconds to delete dead bodies (0 means don't delete)
    5*60, // seconds to delete dead vehicles (0 means don't delete)
    10*60, // seconds to delete immobile vehicles (0 means don't delete)
    5*60, // seconds to delete dropped weapons (0 means don't delete)
    20*60, // seconds to deleted planted explosives (0 means don't delete)
    5*60 // seconds to delete dropped smokes/chemlights (0 means don't delete)
] execVM 'scripts\repetitive_cleanup.sqf';

To edit, change the first number (You can change the second number I just find it easier just to change the first number), To disable one just do 0*0

Examples: 420*60 = 420 minutes

               30*60 = 30 minutes



Edited by [IL] KingCrazyHunter
  • Like 1
Link to post
Share on other sites
4 minutes ago, imthatguyhere said:

Por que não publicar a solução que você criou para que você possa se mostrar e ajudar os outros também?

Great idea!!

In fact it's very simple, the repetitive cleanup file that needs to be changed is inside the Life_Server folder and not in the mission folder. This is not written anywhere, I discovered stirring and trial and error. That simple.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.