Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Script Car Play UI Script Free

HEAT22

Silver Elite
Joined
Oct 20, 2022
Messages
33
Reaction score
8
Points
166
Location
United States
Anyone having issue with ui not working
You ever get it working? I have to restart the resource everytime, plus the main ui doesn't open. Just the nav in the upper left corner. QBcore.
UPDATE Got the ui working thanks to the json fix posted earlier.
 
Last edited:

HEAT22

Silver Elite
Joined
Oct 20, 2022
Messages
33
Reaction score
8
Points
166
Location
United States
Change this
AddEventHandler('onResourceStart', function(resource)
Wait(2000)
SendNUIMessage(
{
type = "set_position",
position = Config.NavigatorPosition
}
)
SendNUIMessage(
{
type = "setCStreetWaypoint",
bool = Config.DisplayCurrentStreet
}
)
SendNUIMessage(
{
type = "useKm",
bool = Config.Km
}
)
SendNUIMessage(
{
type = "setApps",
apps = json.encode(Config.Apps),
blacklist = Config.BlackListSongs,
draggable = Config.Draggable,
draggable_key = Config.RemoveFocusKey
}
)
TriggerServerEvent("complete_carplay:GetData")
end)
this didn't help, but thanks. Can't get this working on QBcore. For some reason I still need to restart the resource everytime.
 
Last edited:
Top