Carjacking is a basic act available in all Grand Theft Auto games, where the player possess the ability to steal an occupied or unoccupied vehicle. It is a fundamental feature in the games, and an inspiration for the "Grand Theft Auto" name, which is a legal term for carjacking.
Carjacking is committed with a simple stroke of a key or button when the player character is close to a targeted vehicle. If the player character isn't already next to a front door of the vehicle (passenger's or driver's side), the player character will automatically walk or run towards the aforementioned door.
Stealing an unoccupied vehicle
If a vehicle is unoccupied, the player may simply break in, start the engine and drive/ride/fly away. For Grand Theft Auto IV and Grand Theft Auto: Chinatown Wars, the player must often times take the time to shatter a window of a road vehicle if it is locked (larger vehicles, however, are unlocked to begin with) and hotwire the vehicle before they can start the engine. If the player interrupts the carjacking by pressing any other key in GTA San Andreas or GTA IV, the player character will simply open the vehicle's door but will not enter the vehicle.
In certain cases, road vehicles will automatically trigger an alarm when intruded, attracting police attention. This can be averted by tripping off the alarm by hitting it with a weapon or another vehicle, waiting until the alarm stops, and then breaking into it. In Grand Theft Auto 1, certain vehicles may also be armed with a bomb activated when it has been broken into, serving as a deterrence to carjacking attractive vehicles parked in the game.
Stealing an occupied vehicle
If a vehicle is occupied by a driver, the player must pull the driver in question out before they can enter and drive away. If the player enters via the passenger's side, the player character simply forces the driver out from inside the car; if the passenger side is also occupied, the player character will pull the passenger out before entering. If the player interrupts the carjacking by pressing any other key in GTA San Andreas or GTA IV, the player character will simply pull out the first occupant but will not enter the vehicle.
Whereas most games simply depict the player character pulling its occupants out, player characters in GTA San Andreas, GTA Liberty City Stories, GTA Vice City Stories and GTA IV employ violence to obtain a vehicle. In these games, punches and kicks (common in lower vehicles such sports car) may be used against an occupant, and if the player character in GTA IV is wielding a firearm, he may threaten the occupant at gunpoint.
For ships, the player may simply jump aboard the boat, triggering its driver to leave the controls and flee. Carjacking an occupied aircraft may be done in multiplayer modes, but is otherwise difficult in single player mode, if not impossible, as occupied aircraft are often not within reach to the player.
Repercussions of carjacking
Carjacking is not without its dangers. From GTA III onwards, certain drivers will react aggressively towards the player if their vehicle is stolen, dragging the player out, and either reenter their vehicle to drive away, or pick a fight with the player; taxi drivers are usually depicted with such behaviors.
As expect, carjacking, as is the possession of a vehicle with a triggered alarm, will attract police attention if a police officer is within the line of sight of the crime, often resulting in the player attaining a one-star wanted level.
If the player attempts to carjack a vehicle just as it begins to move and accelerates, the player will inevitably be thrown off, emphasizing the need to carjack only when a car is traveling in low speeds or is in a complete stop, however, in GTA San Andreas, if the player enters the passenger side of the vehicle, the driver may panic and begin to drive away, but CJ still gets in normally as if the car was stopped, making for a good boost of speed after taking full control of the vehicle (especially a ZR350 or a Infernus); likewise, any NPC attempting to drag the player out of their car may be met with the same experience if the player manages to bring their vehicle's speed up. In GTA IV, the proliferation of ragdoll physics allows for both the player and NPCs to be dragged along the road while clinging to a door handle after a failed attempt carjacking a vehicle which is beginning to move at a higher speed.