0R Carplay
Installation
#Step 1
#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
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_
endLast updated