Gets the currently tuned station id.
The station id, or null when the radio is off or no station is tuned.
Gets the number of loaded stations.
The station count (0 before radio content has streamed in).
Resolves a station name to its id.
Station name, e.g. "Empire".
The station id, or null when no station has that name.
Gets the name of the currently tuned station.
The station name, or null when off or the station name is unknown.
Lists the names of the currently loaded stations.
An array of station names (empty before radio content has streamed in).
Checks whether the local player is the active driver of a car with a radio receiver.
True when the in-car radio can be read or controlled.
Checks whether the server has locked this vehicle's radio, which rejects local control.
True when the server owns the radio state.
Checks whether the radio is currently powered on.
True when the radio is on.
Tunes to the next station, wrapping around.
True when applied; false when unavailable, server-locked, or no stations are loaded.
Tunes to the previous station, wrapping around.
True when applied; false when unavailable, server-locked, or no stations are loaded.
Tunes the radio to a station and turns it on.
Station id or station name to tune to.
True when applied; false when unavailable, server-locked, or the station is invalid.
Powers the radio off.
True when applied; false when unavailable or server-locked.
Powers the radio on.
True when applied; false when unavailable or server-locked.
Reads and controls the local player's in-car radio. Control is local (not synced to other players) and is rejected while the server has locked the vehicle's radio.