Remove extra stuff from AFK detection

This commit is contained in:
Vortrex
2021-08-11 09:36:32 -05:00
parent f46db0ba4d
commit 85dbddd583

View File

@@ -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);
//}
}
// ===========================================================================