IsTrackSwitchedOff
Docslocal retval = IsTrackSwitchedOff(track)Description
Getter for SWITCH_TRAIN_TRACK. Determines if ambient trains are able to spawn on this track.
Parameters
| Name | Type | Description |
|---|---|---|
track | int | The track id (between 0 - 27) |
Returns
boolReturns true or false.