GetVehicleDoorAngleRatio — FiveM Natives
0xFE3F9C29F7B32BD5 · VEHICLE · all
Checks the angle of the door mapped from 0.0 - 1.0 where 0.0 is fully closed and 1.0 is fully open. See eDoorId declared in SET_VEHICLE_DOOR_SHUT
Parameters
| Name | Type | Description |
|---|---|---|
| vehicle | Vehicle | Vehicle |
| doorIndex | int | Index of door to check |
Returns
float