Remove extra stuff from AFK detection
This commit is contained in:
@@ -16,24 +16,12 @@ function initAFKScript() {
|
|||||||
|
|
||||||
function processLostFocusAFK(event) {
|
function processLostFocusAFK(event) {
|
||||||
sendServerNewAFKStatus(true);
|
sendServerNewAFKStatus(true);
|
||||||
//if(localPlayer != null) {
|
|
||||||
// localPlayer.collisionsEnabled = false;
|
|
||||||
// gta.setCiviliansEnabled(false);
|
|
||||||
// gta.setTrafficEnabled(false);
|
|
||||||
//}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
function processFocusAFK(event) {
|
function processFocusAFK(event) {
|
||||||
sendServerNewAFKStatus(false);
|
sendServerNewAFKStatus(false);
|
||||||
//if(localPlayer != null) {
|
|
||||||
// localPlayer.collisionsEnabled = true;
|
|
||||||
// if(gta.game != GAME_GTA_SA) {
|
|
||||||
// gta.setCiviliansEnabled(true);
|
|
||||||
// }
|
|
||||||
// gta.setTrafficEnabled(true);
|
|
||||||
//}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
Reference in New Issue
Block a user