Jump to content

PLay 3D sound music


HugoS#

Recommended Posts

Hello guys,

I've done a little script that it didn't work i don't know why ! any help ? :oops:

local streamURL = "http://www.181.fm/winamp.pls?station=181-power&style=mp3&description=Power%20181%20(Top%2040)&file=181-power.pls" 
local radius = 350.0 
local volume = 1.0 
  
  
  
function clubMusic4 () 
  
local sound = playSound3D(streamURL, 2252.57520, 554.66547, 11.89701, true) 
setSoundVolume(sound, volume) 
setSoundMaxDistance(sound, radius) 
end 
addEventHandler ( "onResourceStart", root, clubMusic4 ) 
  
  

I've make it client side !

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...