Jump to content

Como crear un script de tiburon


RelikGames

Recommended Posts

No me pueden ayudar con este, melo pasaron pero . . . no me anda we, necesito ayuda D:

  
-------------- 
--- Sharks --- -- Makes sharks attack swimmers around san andreas 
----- by ----- 
--- KWKSND --- -- Makes Multi Theft Auto more fun!!  
-------------- 
  
function SharkFxSplash(x,y,z) 
    fxAddWaterSplash ( x,y,z+1 ) 
    local splash = playSound3D("audio/splash.wav", x,y,z, false) 
    setSoundMaxDistance(splash, 30) 
    setSoundMinDistance(splash, 10) 
end 
addEvent("ClientSharkFxSplash",true) 
addEventHandler( "ClientSharkFxSplash", root, SharkFxSplash) 
  
function SharkFxBlood(x,y,z) 
    fxAddBlood ( x,y,z+1, 0, 5, 5, 30 ) 
    local sharkbite = playSound3D("audio/sharkbite.mp3", x,y,z, false) 
    setSoundVolume(sharkbite, 0.5) 
    setSoundMaxDistance(sharkbite, 30) 
    setSoundMinDistance(sharkbite, 10) 
end 
addEvent("ClientSharkFxBlood",true) 
addEventHandler( "ClientSharkFxBlood", root, SharkFxBlood) 

No me sale :c

Edited by Guest
Link to comment
  • Recently Browsing   0 members

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