YES! YES, I do! Nice!
But how do I put this in the script?
local url = "http://www.di.fm/mp3/hardstyle.pls"
function playTheSound(x, y, z, vehicle)
sound = playSound3D(url, x, y, z)
setSoundMaxDistance (url,20)
if (isElement(vehicle)) then attachElements(sound, vehicle) end
end
addEvent("playTheSound", true)
addEventHandler("playTheSound", root, playTheSound)
function stopTheSound(x, y, z)
stopSound(sound)
end
addEvent("stopTheSound", true)
addEventHandler("stopTheSound", root, stopTheSound)
-- 181 FM: [url=http://www.181.fm/winamp.pls?station=18]http://www.181.fm/winamp.pls?station=18[/url] ... 0(Top%2040)&file=181-power.pls
-- The Hitz channel: [url=http://www.in.com/music/radio/977-the-h]http://www.in.com/music/radio/977-the-h[/url] ... el-15.html
Just change the 20 to any number you want.