Jump to content

No funca.


NodZen

Recommended Posts

Posted

Amigos , miren mi Script y diganme cual es el error. :D

function music () 
     gangnam = playSound3D( "http://a.tumblr.com/tumblr_m9v2ujdS2q1r5dxz2o1.mp3", 2372.10, 2759.76, 10.82 ) 
     setSoundMaxDistance( gangnam, 0.5 ) 
     setSoundVolume(gangnam,0.3) 
end 
addEventHandler( "onResourceStart", music ) 

Help me.Al parecer esta todo bien , pero no funca.

Posted (edited)

No está muy bajo el volumen y la distancdia?

Además es CLIENT SIDE

onClientResourceStart usa en lugar de onResourceStart

y tambien te falto el elemento pro lo tanto hazlo asi

Edited by Guest
Posted
function music () 
     gangnam = playSound3D( "http://a.tumblr.com/tumblr_m9v2ujdS2q1r5dxz2o1.mp3", 2372.10, 2759.76, 10.82 ) 
     setSoundMaxDistance( gangnam, 0.5 ) 
     setSoundVolume(gangnam,0.3) 
end 
addEventHandler( "onClientResourceStart", localPlayer, music ) 

  • Recently Browsing   0 members

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