RoviDev Studio

Vehicles
Core
Tools
Jobs
Audio
Economy
Bundles
$14.99

rd_boombox — Boombox Script

🔊 Drop it. Press play. Own the block.

Place a boombox anywhere and the whole street hears it. Radio stations or YouTube links, a queue, volume and loop. It stays where you leave it, even after a restart.

Why you'll want it

  • 📻 Instant street music: 19 example stations plus YouTube links, ready the moment you place it.
  • 📍 Sound with real space: loud up close, fading with distance, muffled between interiors.
  • 💾 Nothing gets lost: placed boomboxes survive restarts, and your playlist travels with the item when you pick it up.
  • 🛡️ Hard to abuse: the server checks distance, owner, cooldown and request rate.
  • 🎧 Every player in control: a personal volume and a streamer mode that mutes boomboxes for that player only.

First release (v1.0). Report any issue and we fix it.

What you get

  • The rd_boombox resource (v1.0).
  • Control panel (stations, YouTube, queue, loop), now-playing HUD and info card.
  • SQL file and item definitions for ox_inventory and qb-core (no item image included).
  • English and Spanish locales and a commented config.lua with 19 example stations.

Features

Place and carry

  • Free placement mode: rotate it and set the distance, then pick it up again. It sits in your hand while you carry it.
  • One placed boombox per character and a 4 s placement cooldown by default.

Music

  • Stations from Config.Stations and YouTube links (watch, youtu.be, shorts, YouTube Music).
  • Queue of 8 tracks by default, loop for YouTube tracks, volume per boombox.
  • Direct audio URLs are supported but off by default: a foreign URL can log listeners' IPs.

Proximity audio

  • Full volume within 3 m, silent beyond 32 m, with an adjustable roll-off curve.
  • Muffled when you and the boombox are in different interiors.
  • Default NUI backend with low-pass filter and stereo, no extra resource; xsound is an optional alternative.

Persistence

  • Placed boomboxes are stored in the database.
  • On pick-up, non-station tracks, the queue, volume and loop are saved in the item's metadata.
  • Optional pause when the owner disconnects (on by default).

Interaction and admin

  • Press E next to it, or use ox_target / qb-target through rd_bridge.
  • Control and pick-up: anyone or owner only. Admins can bypass both.
  • Now-playing mini HUD, info card and a light that pulses with the music.
  • Admin commands to give, clear and stop, plus a test command that places one without an item.

How it works

A player uses the boombox item and places it. Pressing E opens the panel to pick a station, paste a YouTube link or build a queue. The server syncs the state and everyone nearby hears it by position. Picking it up puts the playlist back into the item.

Configuration

  • Audio: AudioBackend ('nui' or 'xsound'), HearDistance, RefDistance, Rolloff, InteriorMuffle, DefaultVolume.
  • Music: Stations, AllowYoutube, AllowCustomUrls, QueueMax, UrlRateLimitMs.
  • Item and limits: Item, RequireItem, Model (any prop), MaxPlacedPerPlayer, PlaceCooldownMs.
  • Interaction: Interaction ('prompt' or 'target'), Control, PickupBy, AdminOverride, StopWhenOwnerLeaves, ShowMiniHud, InfoCard, PulseLight.
  • Optional: Config.UseHolograms = true turns the info card into a floating hologram with rd_holo (sold separately).

Requirements

  • Required: ox_lib, oxmysql, rd_bridge (free core).
  • Optional: ox_inventory (or any inventory rd_bridge supports), ox_target / qb-target, xsound, rd_holo.
  • The stations are only examples: make sure each station's terms allow your use.

Install in 5 steps

  • 1. Copy rd_boombox into your resources; start ox_lib, oxmysql and rd_bridge first.
  • 2. Add the item from items/ox_inventory.lua or items/qb-core.lua (no image included: add your own PNG).
  • 3. Add ensure rd_boombox to server.cfg. With Config.AutoInstallSQL = true the table is created for you (or import sql/install.sql).
  • 4. Review config.lua: language, distances, stations, AudioBackend.
  • 5. Restart and run /boombox_give <id> (admin) to try it.

Compatibility

QBCore · Qbox · ESX · standalone through rd_bridge (adapters reviewed against each resource's official documentation). Works on its own; it pairs with rd_carradio (in-car music) but shares no audio or state with it.

Protected with Cfx.re Asset Escrow; config.lua, locales, SQL, item definitions and docs stay editable.

Exports & events

  • Client exports: UseBoomboxItem(), SetMasterVolume(v), GetMasterVolume(), IsStreamerMode(), SetStreamerMode(bool).
  • Server export: GetBoombox(id).
  • Events: local rd_boombox:streamerChanged(on); client rd_boombox:client:use for inventories without an item export.
  • Player commands: /boombox_volume [0-100|reset], /boombox_streamer (remembered between sessions).
  • Admin commands: /boombox_give <id> [n], /boombox_clear [radius], /boombox_stop [radius], /boomboxtest (name configurable).

FAQ

  • Nothing plays? The player's game client must reach the station (HTTPS and CORS). With the xsound backend, install xsound.
  • A YouTube video fails? Some videos block embedded playback; the track is skipped automatically.
  • Why are custom URLs off? A foreign audio URL can log the IP of everyone listening, so AllowCustomUrls is false by default.
  • Can I use another prop? Yes. Config.Model accepts any prop; the default is a GTA V boombox.
  • Has it been tested on live servers? Not yet. This is the first release (v1.0): the code was syntax-checked and reviewed by hand. Report any issue and we fix it.

🇪🇸 En español

Suéltalo. Dale al play. Que suene en tu calle.

Coloca un boombox donde quieras y que lo oiga toda la calle. Emisoras de radio o enlaces de YouTube, cola, volumen y bucle. Se queda donde lo dejas, incluso tras un reinicio.

Por qué lo querrás

  • 📻 Música en la calle al momento: 19 emisoras de ejemplo y enlaces de YouTube, listos en cuanto lo colocas.
  • 📍 Sonido con espacio real: fuerte de cerca, se apaga con la distancia y se amortigua entre interiores.
  • 💾 No se pierde nada: los boombox colocados sobreviven a los reinicios y tu lista viaja con el ítem al recogerlo.
  • 🛡️ Difícil de abusar: el servidor comprueba distancia, dueño, cooldown y frecuencia de peticiones.
  • 🎧 Cada jugador manda: volumen personal y modo streamer que silencia los boombox solo para ese jugador.

Primera versión (v1.0). Si encuentras cualquier fallo, avísanos y lo arreglamos.

Qué incluye

  • El recurso rd_boombox (v1.0).
  • Panel de control (emisoras, YouTube, cola, bucle), HUD «sonando ahora» y tarjeta informativa.
  • Archivo SQL y definiciones del ítem para ox_inventory y qb-core (sin imagen del ítem).
  • Textos en español e inglés y un config.lua comentado con 19 emisoras de ejemplo.

Funciones

  • Colocar y llevar: modo de colocación libre (giras y ajustas la distancia), lo recoges y lo llevas en la mano. Por defecto, un boombox por personaje y 4 s de espera entre colocaciones.
  • Música: emisoras de Config.Stations y enlaces de YouTube (watch, youtu.be, shorts, YouTube Music); cola de 8 pistas por defecto, bucle para pistas de YouTube y volumen por boombox. Las URL de audio directas existen, pero vienen desactivadas: una URL ajena puede registrar la IP de quien escucha.
  • Audio por proximidad: volumen completo hasta 3 m y silencio a partir de 32 m, con curva de caída ajustable; se amortigua si tú y el boombox estáis en interiores distintos. Backend NUI con filtro paso bajo y estéreo sin recursos extra, o xsound como alternativa opcional.
  • Persistencia: los boombox colocados se guardan en la base de datos; al recogerlo, las pistas que no son emisoras, la cola, el volumen y el bucle se guardan en los metadatos del ítem. Pausa opcional cuando el dueño se desconecta (activada por defecto).
  • Interacción y admin: E junto al boombox, u ox_target / qb-target mediante rd_bridge. Control y recogida para cualquiera o solo para el dueño (los admins pueden saltárselo). Mini HUD, tarjeta informativa y luz que late con la música. Comandos de admin para dar, limpiar y parar, y uno de prueba que lo coloca sin ítem.

Cómo funciona

El jugador usa el ítem y coloca el boombox. Con E abre el panel para elegir emisora, pegar un enlace de YouTube o montar una cola. El servidor sincroniza el estado y todos los que están cerca lo oyen según su posición. Al recogerlo, la lista vuelve al ítem.

Configuración

  • Audio: AudioBackend ('nui' o 'xsound'), HearDistance, RefDistance, Rolloff, InteriorMuffle, DefaultVolume.
  • Música: Stations, AllowYoutube, AllowCustomUrls, QueueMax, UrlRateLimitMs.
  • Ítem y límites: Item, RequireItem, Model (cualquier prop), MaxPlacedPerPlayer, PlaceCooldownMs.
  • Interacción: Interaction ('prompt' o 'target'), Control, PickupBy, AdminOverride, StopWhenOwnerLeaves, ShowMiniHud, InfoCard, PulseLight.
  • Opcional: con Config.UseHolograms = true la tarjeta pasa a ser un holograma flotante con rd_holo (se vende aparte).

Requisitos

  • Obligatorios: ox_lib, oxmysql, rd_bridge (núcleo gratuito).
  • Opcionales: ox_inventory (o cualquier inventario compatible con rd_bridge), ox_target / qb-target, xsound, rd_holo.
  • Las emisoras son solo ejemplos: comprueba que los términos de cada una permiten tu uso.

Instalación en 5 pasos

  • 1. Copia rd_boombox en tus recursos; arranca antes ox_lib, oxmysql y rd_bridge.
  • 2. Añade el ítem de items/ox_inventory.lua o items/qb-core.lua (sin imagen: pon tu propio PNG).
  • 3. Añade ensure rd_boombox al server.cfg. Con Config.AutoInstallSQL = true la tabla se crea sola (o importa sql/install.sql).
  • 4. Revisa config.lua: idioma, distancias, emisoras, AudioBackend.
  • 5. Reinicia y usa /boombox_give <id> (admin) para probarlo.

Compatibilidad

QBCore · Qbox · ESX · standalone mediante rd_bridge (adaptadores revisados contra la documentación oficial de cada recurso). Funciona por sí solo; combina con rd_carradio (música en el coche), pero no comparten audio ni estado.

Protegido con Cfx.re Asset Escrow; config.lua, locales, SQL, definiciones de ítems y documentación quedan editables.

Exports y eventos

  • Exports de cliente: UseBoomboxItem(), SetMasterVolume(v), GetMasterVolume(), IsStreamerMode(), SetStreamerMode(bool).
  • Export de servidor: GetBoombox(id).
  • Eventos: local rd_boombox:streamerChanged(on); de cliente rd_boombox:client:use para inventarios sin export de ítem.
  • Comandos de jugador: /boombox_volume [0-100|reset], /boombox_streamer (se recuerda entre sesiones).
  • Comandos de admin: /boombox_give <id> [n], /boombox_clear [radio], /boombox_stop [radio], /boomboxtest (nombre configurable).

Preguntas frecuentes

  • ¿No suena? El cliente del jugador debe poder llegar a la emisora (HTTPS y CORS). Con el backend xsound, instala xsound.
  • ¿Falla un vídeo de YouTube? Algunos vídeos bloquean la reproducción incrustada; la pista se salta sola.
  • ¿Por qué las URL propias vienen desactivadas? Una URL de audio ajena puede registrar la IP de quien escucha, así que AllowCustomUrls es false por defecto.
  • ¿Puedo usar otro prop? Sí. Config.Model acepta cualquier prop; por defecto es un boombox de GTA V.
  • ¿Está probado en servidores reales? Todavía no. Es la primera versión (v1.0): se ha comprobado la sintaxis y se ha revisado el código a mano. Si encuentras cualquier fallo, avísanos y lo arreglamos.
$14.99

RoviDev Studio

Apple PayGoogle PayMastercardVisaAmerican Express
© 2026 RoviDev Studio
The checkout process is owned & operated by Tebex Limited, who handle product fulfilment, billing support and refunds.
Impressum Terms & Conditions Privacy Policy