function onResourceStart()
local sound = playSound3D("yourmusic.mp3", 373.14, -125.21, 1001, true)
end
addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart)
373.14, -125.21, 1001 ---- change it to your coordinates
This is CLIENT script!
https://wiki.multitheftauto.com/wiki/PlaySound3D