SHARE
TWEET

Body

Pwner-Actual Mar 19th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // =======================================================================================
  2. // =======================================  SETUP  =======================================
  3. // =======================================================================================
  4. // INSTRUCTIONS
  5. // =======================================================================================
  6. /*
  7.     USAGE   :   Server only.
  8.    
  9.     PURPOSE :   Cleanup bodies.
  10. */
  11. // =======================================================================================
  12. // SERVER ONLY
  13. // =======================================================================================
  14. if (!isServer) exitWith {};
  15. // =======================================================================================
  16. // DEFINE & DECLARE VARIABLES
  17. // =======================================================================================
  18. //      VARS & VALUES THRU ARGUMENTS
  19. // =======================================================================================
  20. private _body  = _this select 0;
  21. // =======================================================================================
  22. // ====================================  SCRIPT  =========================================
  23. // =======================================================================================
  24. waitUntil {
  25.     sleep 1;
  26.     {(_body) distance (_x) > UAF_remBodyDis} count (allPlayers - entities "HeadlessClient_F") == count (allPlayers - entities "HeadlessClient_F");
  27.     };
  28. deleteVehicle _body;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top