Removed bugged stuff from afk
This commit is contained in:
@@ -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);
|
||||
//}
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
Reference in New Issue
Block a user