🎵 moh_carplay — In-Vehicle Music Player
CarPlay-Style Music System | QBCore / ESX / Standalone | by MohScripts
Transform your server's driving experience with a fully synced in-vehicle music player. Built for all major frameworks, moh_carplay lets players stream any audio URL directly from inside their car — synced in real time to every passenger, with a sleek modern CarPlay-inspired UI.
Designed for immersive RP servers, this system handles everything automatically — from passenger sync and volume persistence to seamless resume when re-entering a vehicle.
🎶 Core Features
🚗 moh carplay In-Vehicle Playback
- Stream any direct audio URL instantly
- Play, pause, resume and stop with one click
- Seek to any position with the progress bar
- Restart song from the beginning
👥 Passenger Sync
- All passengers hear the same audio in real time
- Players joining mid-song automatically catch up
- Synced pause, resume and seek for all occupants
- Any passenger can control the player
💾 State Persistence
- Song and timestamp saved on the vehicle statebag
- Auto-pauses when you leave, resumes when you return
- Volume level persisted and inherited by new passengers
- Full cleanup on resource restart — no ghost sounds
🔊 Volume Control
- Smooth volume slider inside the UI
- Volume saved per vehicle automatically
- New passengers always inherit the correct level
⚙️ Configuration
- All settings in a single
config.lua - Configurable command name, prefix, volume and timings
- Framework selector — QBCore, ESX or Standalone
- config.lua and client files escrow-ignored for easy editing
💎 Highlights
- ⚡ Optimized & lightweight — minimal thread usage
- 🎨 Sleek CarPlay-inspired UI — modern & clean
- 🔧 Plug & play setup — running in minutes
- 🔄 Multi-framework — QBCore, ESX & Standalone
- 🛡️ Server-side validation — spoofed events are dropped
- 🧠 Built on FiveM statebags — no extra server calls needed
🚀 Why This Script?
This isn't just a music player — it's a complete in-vehicle audio experience that keeps every passenger in sync automatically while delivering a polished, immersive UI that feels native to the game.
Perfect for:
- Roleplay servers wanting immersive driving experiences
- Cruise & car meet events
- Any server looking to add a unique quality-of-life feature
TAGS: NEW,Standalone