From 85dbddd583c06c34b35793c729fa3f82a57461e7 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Wed, 11 Aug 2021 09:36:32 -0500 Subject: [PATCH] Remove extra stuff from AFK detection --- scripts/client/afk.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/scripts/client/afk.js b/scripts/client/afk.js index 9b7693ec..95cbd995 100644 --- a/scripts/client/afk.js +++ b/scripts/client/afk.js @@ -16,24 +16,12 @@ function initAFKScript() { function processLostFocusAFK(event) { sendServerNewAFKStatus(true); - //if(localPlayer != null) { - // localPlayer.collisionsEnabled = false; - // gta.setCiviliansEnabled(false); - // gta.setTrafficEnabled(false); - //} } // =========================================================================== function processFocusAFK(event) { sendServerNewAFKStatus(false); - //if(localPlayer != null) { - // localPlayer.collisionsEnabled = true; - // if(gta.game != GAME_GTA_SA) { - // gta.setCiviliansEnabled(true); - // } - // gta.setTrafficEnabled(true); - //} } // =========================================================================== \ No newline at end of file