Jump to content

Bombas


Arsilex

Recommended Posts

Posted
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? :S

rsilex.png.0e6ad382b3fdc3cbe6390e3e847572c9.png
Posted

Tu script es server side?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

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) 

rsilex.png.0e6ad382b3fdc3cbe6390e3e847572c9.png
  • Recently Browsing   0 members

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