SetTrainDoorOpenRatio — RedM Natives
0x2468DBE8 · CFX · client
Sets the ratio that a door is open for on a train.
Parameters
| Name | Type | Description |
|---|---|---|
| train | Vehicle | The train to set the door ratio for. |
| doorIndex | int | Zero-based door index. |
| ratio | float | A value between 0.0 (fully closed) and 1.0 (fully open). |
Returns
void