Impact Dynamics / Features

Jammed doors

A hard enough hit buckles the doors near it. Pressing the exit key (F) does not open a jammed door - it rattles (door_jam.wav) and you get a note.

  • A door jams when the hit landed within a radius of it (bigger for harder crashes). Full chance right at the door, fading to nothing at the edge of the radius - only severe hits reach the far side of the car.
  • No door jams from a hit under 22 km/h, from roof or underside hits, or on vehicles without doors (motorcycles, bicycles, boats, aircraft, trains, open-wheel cars).
  • A heavy / severe crash can also fold the frame: every door jams.
  • The jam is synced with the car: the same for every occupant, and it stays after the driver gets out.
  • Each seat uses its own door. Rear seats of a two-door car use the front doors; a middle seat uses the nearest door.
  • A door that is standing open or has been cut off is never jammed.

Getting out yourself

Nobody is ever stuck for good, even with no police or fire online.

Climb out the window

If your seat's window is open - broken or rolled down - and the car is (nearly) stopped, pressing F climbs out through it. While the car is still moving, F kicks the door instead.

  • A 6-second progress bar runs while you stay seated and the climb animation plays: up onto the seat, head and shoulders out through the window, stuck in the frame, then out to the waist. Cancelling the bar does not use up a try.
  • Each try has a chance by how bad the crash was: 75 % moderate, 50 % heavy, 25 % severe, and +10 % for every failed try (up to 85 %). After a failed try you wait 8 seconds (you can kick the door meanwhile).
  • On a success the screen fades and you are out beside the window, catching your breath with a pained face.
  • A broken windscreen does not count by default. Config.DoorJam.Escape.Window.Windscreen = true lets the front seats climb out through it.

If the window is up and in one piece, you cannot climb out. The note says so: "The door is jammed and your window is up - kick the door (F), or get the window open to climb out" (at most every 30 s).

Kick the door

Without an open window, F kicks the door - one kick every 1.5 seconds. People outside hear it.

No kick can open it until 40 seconds after your first kick. From then each kick has a 5 % chance, +1.5 % per kick (up to 30 %). Stop kicking for 2 minutes and it starts over. By default it takes about 50-70 seconds. Each kick tells you "Still jammed - keep kicking it (F) or get out another way" until "The door gives way".

Getting them out from outside

Force the door

On-duty players with one of the jobs in Config.DoorJam.Force.Jobs (police, ambulance and fire by default) get the ox_target option Force the door on a jammed door - only on a jammed one, and only on foot. They need a pry tool in hand (GTA's crowbar, or an add-on tool you list) when they pick it; without one they are told "You need a Halligan or a crowbar in your hands".

It takes 22 seconds with a forcing animation and works 70 % of the time ("It won't give - try again"). The server checks the job, the tool, the distance and the jam.

Cut it off

Any extrication script that removes the door from the car frees it - a door that is gone is not jammed.

From a script

Lua
-- server
exports['ryan-impactdynamics']:FreeDoor(vehicle, door)   -- door: 0 FL, 1 FR, 2 RL, 3 RR

Repairs

A repair clears every jam. Every freed door swings open and fires the server event ryan-impactdynamics:doorFreed with how it was freed (forced, kicked, script). See Dispatch, logs & hooks.

Configure it in Jammed doors.

Still stuck? Open a ticket in the Ryan Studios Discord and we'll help you out.