[Preview Video]
Dependencies
None
This script protected escrow system
[Discord]
Script escrow will never restrict your access to important things.
Most of the important things, such as adding and removing status bars, are open source. 80% of the script is open source according to general statistics.
izzy-carplay β In-Vehicle CarPlay & YouTube Music for FiveM
π¦ Overview
* Open the menu only while youβre in a vehicle β it wonβt open on foot
* Works with ESX and QBCore (framework auto-detects)
* Play music from YouTube links
* Requires xsound β install it and start it before this resource
* Your playlists are saved in the database β they stay when you leave and come back
π€ Profile area (top corner)
* No character mugshot / in-game face photo
* Your Discord profile picture shows (if your Discord is linked and the server owner set up the bot token)
* If thereβs no Discord avatar, the default image from config is used
* Your in-game name appears next to it (character name on ESX, first + last name on QBCore)
π How to open the menu
* Command: carplay (changeable in config)
* Key: F6 (changeable in config)
* Event: izzy_carplay:open (can be triggered from other scripts)
π± 4 main tabs
### π Home
* Vehicle info, mini music panel, and map preview in one screen
* Top bar: weather temperature, clock, and icons for headlights, seatbelt, engine, and fuel
* Shortcuts at the bottom: door lock, windows, change seat, seatbelt (hooks to your HUD), engine, headlights
### π΅ Music
* Play tracks with a YouTube URL
* Music comes from your car β players nearby can hear it
* Synced for everyone β when someone plays, others hear the same audio from that vehicle
* Volume slider β control how loud it plays
* Sound fades with distance; open windows make it slightly louder outside
* Play / pause, previous / next track
* Progress bar β see where you are in the song and scrub to skip
* When a song ends, the next track in the list starts automatically (if there isnβt one, music stops)
* Vehicle radio turns off while CarPlay music is playing
* Stop button to end playback completely
### π Playlists
* Favorites β all songs youβve liked in one place
* Create up to 6 personal playlists (name + cover image URL)
* Add songs with a YouTube link
* Edit or delete a playlist
* Remove songs you donβt want
* Like / unlike tracks
* Everything is saved in SQL to your account β itβs there every time you join
### πΊοΈ Map & π Vehicle
* **Map:** Live GPS map, distance and street name to your map waypoint, progress bar based on closeness, and weather temperature (Β°C or Β°F).
* **Vehicle:** Model name, live speed (km/h), damage percentage, and fuel level (LegacyFuel, ps-fuel, ox_fuel, etc.).
* Open/close individual doors (including trunk) and all windows from the diagram, or lock/unlock the vehicle.
π Sound & atmosphere
* Music plays from your vehicleβs position
* Nearby players hear it; volume drops as they move away
* Music cleans up automatically when you leave the vehicle or disconnect
π Languages
* 15 languages built in: English, Turkish, German, French, Spanish, Russian, Portuguese, Polish, Hungarian, Greek, Dutch, Romanian, Arabic, Chinese, Hebrew
* Set Language = "en" (or any supported code) in config β menu and notifications follow your choice.
π οΈ Setup & customization (server owners)
* One config file: language, MySQL type (oxmysql / mysql-async / ghmattimysql), player identifier, update intervals, fuel script, temperature unit, default profile image, GPS bar distance, menu keys/commands
* sv_cfg: Discord bot token (for profile photos)
* insertme.sql β set up the table
* Start xsound before this resource
* Seatbelt shortcut: wire your HUD in the seatbelt() function in config