SetTrackEnabled
DocsSetTrackEnabled(track, enabled)Description
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
voidThis native does not return a value.