GetTrainDoorOpenRatio — RedM Natives
0x40B16551 · CFX · client
Gets the ratio that a door is open for on a train.
Parameters
| Name | Type | Description |
|---|---|---|
| train | Vehicle | The train to obtain the door ratio for. |
| doorIndex | int | Zero-based door index. |
Returns
float