SetTrackEnabled — RedM Natives
0x4B41E84C · CFX · client
Toggles the track being active. If disabled mission trains will not be able to spawn on this track and will look for the next closest track to spawn
Parameters
| Name | Type | Description |
|---|---|---|
| track | int | The track id (between 0 - 27) |
| enabled | bool | Should this track be enabled |
Returns
void