FiveM Car Radio Script
Your car, your soundtrack: stations, YouTube and a USB stick for favourites.
$17.99 · one-time purchase · QBCore, Qbox, ESX and standalone
Requires: ox_lib, oxmysql, rd_bridge. Protected with Cfx.re Asset Escrow; config, locales and SQL stay editable.

In-car radio and music: stations, YouTube links, queue, loop, volume and favourites on a USB stick, with sound that gets muffled from outside depending on windows, doors, roof and trunk.
Needs the free rd_bridge resource, which adapts it to your framework and inventory.
🚗🎶 Your car. Your soundtrack.
The music changes as you open the windows. rd_carradio turns every car into a radio: pick a station or paste a YouTube link, queue songs and save favourites to a USB stick. Full volume inside; from outside it is muffled and opens up as windows go down and doors, roof or trunk open.
Why you'll want it
- 📻 Stations and YouTube: 19 example stations plus YouTube links (video, shorts, YouTube Music), a queue of 8 by default, repeat and volume per car.
- 💾 USB stick favourites: save up to 15 songs per stick by default, then play one, queue it or play them all. Prefer no item? Set Config.Car.RequireItem = false and favourites live in the database.
- 🪟 Sound that reacts to the car: a low-pass filter and stereo (NUI backend) shift with windows, doors, roof, trunk and hood. Lowered windows come from rd_carmenu if you run it; without it only broken windows count.
- 🔑 Rules you can tune: engine-on requirement, pause with the queue kept when the engine stops, a 600 s accessory mode by default, and outside control by keys, anyone or never.
- 🛡️ Server-authoritative: per-vehicle state, maximum distance, key or permission checks and rate limits live on the server.
- 🔌 Standalone: own panel on F7 or /carradio and a now-playing mini HUD. Needs ox_lib, oxmysql and rd_bridge; rd_carmenu (Music tab), ox_inventory and xsound are optional.
First release (v1.0): code-reviewed and lint-checked. Report any issue and we fix it.
What you get
- The resource
rd_carradiov1.0.0 (encrypted code, editable config.lua and locales) - Its own control panel (F7 or
/carradio) and a now-playing mini HUD - SQL file for the favourites table and item definitions for ox_inventory and QBCore-style inventories
- English and Spanish texts in locales/
- 19 example stations in config.lua
Features
Music sources
- Radio stations from
Config.Stations(HTTPS streams) and YouTube links: video, shorts or YouTube Music. - Queue (8 tracks by default), repeat, restart track, volume per car and a personal master volume saved on the player's client.
Favourites
- Save the current YouTube song to a USB stick item (15 songs by default), play one, queue it or play them all.
- Prefer no item? Set
Config.Car.RequireItem = falseand favourites are stored in the database.
Realistic sound
- Inside the car you hear it at full volume. From outside it is muffled: ClosedFactor, OpenFactor and a low-pass filter move as windows go down and doors, roof, trunk or hood open.
- With the default NUI backend you get the low-pass filter and stereo; the optional xsound backend gives volume only.
Engine and control rules
- It can require the engine on, pause when the engine stops (queue kept) and keep playing in an accessory mode for 600 seconds by default.
- Control from outside the car:
'keys','anyone'or'never', using your key check or rd_bridge's.
Server-authoritative
- Per-vehicle state, maximum distance, key or permission checks and rate limits on commands and track requests live on the server.
- YouTube loads Google's embedded player on the client, only when
AllowYoutubeis on. No telemetry.
How it works
- Get in a car and press F7 (or
/carradio). - Choose a source: a station, a YouTube link, the queue or your favourites.
- The server keeps the state per vehicle and checks distance and keys.
- Players hear it by position: crisp inside, muffled outside, opening up with the body.
How it fits with the rest of the family
rd_carradio is the in-car audio piece. It is a standalone product: it only needs rd_bridge.
| Product | What it does | With the others |
|---|---|---|
| rd_carmenu | Vehicle menu: doors, windows, lights, engine, keys | Works alone. Adds a Music tab if rd_carradio runs and a Walkie tab if rd_walkie runs. |
| rd_carradio | In-car radio and music | Works alone with its own panel. With rd_carmenu you also get the Music tab and the lowered-window state. |
| rd_boombox | Placeable street boombox | Fully independent: no link with the other three. |
| rd_walkie | Walkie-talkie radio by frequency | Works alone. rd_carmenu can show a Walkie tab for it. |
| rd_holo | Floating holograms engine (optional extra, sold separately) | Not needed by any of the four. Products with Config.UseHolograms can use it. |
- With rd_carmenu: when both run, the menu's Music tab controls this radio through
GetCarAudio,CarControlandRefreshCarInfo. Lowered windows are read from thecm_winstate bag that rd_carmenu publishes (Config.Car.WindowsBag); without it only broken windows count. - Without rd_carmenu: use rd_carradio's own panel (
F7//carradio). - rd_boombox is the street boombox: a separate product with its own audio. They share no state and neither depends on the other: boombox outside, radio inside.
- rd_walkie is a personal comms radio, not a car stereo, and does not depend on this resource.
- rd_holo (optional, sold separately):
Config.UseHologramsexists for a shared configuration; this resource draws no holograms.
Requirements
- Required: ox_lib, oxmysql, rd_bridge (free core).
- Optional: ox_inventory (or an inventory rd_bridge supports) for the USB stick, xsound (alternative audio backend), rd_carmenu (Music tab), rd_holo (see above).
- Example stations are only examples: make sure each station's terms allow your use.
Install in 5 steps
- 1. Copy
rd_carradio; start ox_lib, oxmysql and rd_bridge first. - 2. Add the USB stick item from
items/(or setConfig.Car.RequireItem = falseand skip it). - 3. Add
ensure rd_carradio. WithConfig.AutoInstallSQL = truethe favourites table is created for you (or importsql/install.sql). - 4. Review
config.lua: stations,Config.Cardistances, isolation, accessory mode, outside control. - 5. Get in a car and press F7 (or
/carradio).
Compatibility
QBCore · Qbox · ESX · standalone through rd_bridge (adapters reviewed against each resource's official documentation).
Protected with Cfx.re Asset Escrow; config.lua, locales, SQL, items and docs stay editable.
First release — report any issue and we fix it.
FAQ
Nothing plays with the engine off.
That is RequireEngine. Use AccessorySeconds for the accessory mode, or turn the requirement off.
Can I skip the USB stick?
Yes: Config.Car.RequireItem = false stores favourites in the database.
Does it need rd_carmenu?
No. It has its own panel and mini HUD. rd_carmenu only adds a Music tab and the lowered-window state.
Why does a YouTube video not play?
Some videos block embedded playback; the track is skipped automatically.
Has it been tested on live servers?
This is the first release (v1.0). The Lua and NUI JavaScript were syntax-checked and the code was reviewed by hand; it has not been field-tested on live servers yet. Report any issue and we fix it.