0R Carplay
Installation
#Step 1
Download xSound from here and start on your server; https://github.com/Xogy/xsound
#Step 2 Make your configurations in config.lua
Step 3 Run the sql file from 0r-carcontrol.
Step 4 open your server.cfg and ensure the resource. ensure 0r-carcontrol
Note go to xsound/config and setting config.RefreshTime = 0
if Config.PlayMusicOnlyInVehicle this feature disabled go to xsound/client/exports/manipulation.lua and change Position function with this:
function Position(name, pos)
if not IsPedInAnyVehicle(PlayerPedId()) then
Wait(500)
end
SendNUIMessage({
status = "soundPosition",
name = name,
x = pos.x,
y = pos.y,
z = pos.z,
})
soundInfo[name].position = pos
soundInfo[name].id = name_
end
after that restart your server.
Last updated