Arsilex Posted August 20, 2012 Share Posted August 20, 2012 function blowVehicleEnterr ( thePlayer, seat, jacked ) if ( seat == 0 and bombVehicles [ source ] ) then setTimer(blowVehicle, 6000, 1, source ) local x,y,z = getElementPosition( source ) playSound3D("sounds/song.mp3", 373.14, -125.21, 1001, true) end end Por que no suena eso? Link to comment
Castillo Posted August 20, 2012 Share Posted August 20, 2012 Tu script es server side? Link to comment
Castillo Posted August 20, 2012 Share Posted August 20, 2012 playSound3D es solo client side, usa triggerClientEvent. Link to comment
Arsilex Posted August 20, 2012 Author Share Posted August 20, 2012 ok gracias no me di cuenta Link to comment
Arsilex Posted August 20, 2012 Author Share Posted August 20, 2012 Como hacer para que al pasar 10 segundos pa musica pare?? function musica() local vehicle = getPedOccupiedVehicle ( source ) local x,y,z = getElementPosition( vehicle ) local sound = playSound3D("sonido/boom.mp3", x, y, z, true) setSoundMaxDistance( sound, 20 ) end addEvent( "onMusicon", true ) addEventHandler( "onMusicon", getRootElement(), musica) Link to comment
Arsilex Posted August 20, 2012 Author Share Posted August 20, 2012 ya nada solucionado Link to comment
Recommended Posts