| Property | Value |
|---|---|
| Native Name | DOOR_SYSTEM_SET_OPEN_RATIO |
| Hash | 0xB6E6FBA95C7324AC |
| Return Type | void |
| Build | 1207 |
| Parameters | doorHash (Hash), ajar (float), requestDoor (BOOL), forceUpdate (BOOL) |
Description: ``` Sets the ajar angle of a door. Ranges from -1.0 to 1.0, and 0.0 is closed / default.
### Parameters
- **`doorHash`** (`Hash`) — Door system identifier
- **`ajar`** (`float`)
- **`requestDoor`** (`BOOL`)
- **`forceUpdate`** (`BOOL`) — On true invokes [DOOR_SYSTEM_SET_DOOR_STATE](#\_0x6BAB9442830C7F53); otherwise requestDoor is unused.
### Usage
**Lua (Direct):**
```lua
DoorSystemSetOpenRatio(doorHash, ajar, requestDoor, forceUpdate)
Lua (Hash):
Citizen.InvokeNative(0xB6E6FBA95C7324AC, doorHash, ajar, requestDoor, forceUpdate)