diff --git a/scripts/client/afk.js b/scripts/client/afk.js index 3cb20d15..3619aaf5 100644 --- a/scripts/client/afk.js +++ b/scripts/client/afk.js @@ -17,24 +17,24 @@ function initAFKScript() { function processLostFocusAFK(event) { sendServerNewAFKStatus(true); - if(localPlayer != null) { - localPlayer.collisionsEnabled = false; - gta.setCiviliansEnabled(false); - gta.setTrafficEnabled(false); - } + //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); - } + //if(localPlayer != null) { + // localPlayer.collisionsEnabled = true; + // if(gta.game != GAME_GTA_SA) { + // gta.setCiviliansEnabled(true); + // } + // gta.setTrafficEnabled(true); + //} } // =========================================================================== \ No newline at end of file