diff --git a/scripts/client/utilities.js b/scripts/client/utilities.js index 9e138c47..84f41a7b 100644 --- a/scripts/client/utilities.js +++ b/scripts/client/utilities.js @@ -185,8 +185,10 @@ function setLocalPlayerControlState(controlState, cursorState = false) { logToConsole(LOG_DEBUG, `[VRR.Utilities] Setting control state to ${controlState} (Cursor: ${cursorState})`); controlsEnabled = controlState; localPlayer.invincible = true; - localPlayer.collisionsEnabled = controlState; - localPlayer.invincible = false; + if(getGame() != GAME_GTA_IV) { + localPlayer.collisionsEnabled = controlState; + localPlayer.invincible = false; + } } // ===========================================================================