Jump to content

onPlayerLogin


NodZen

Recommended Posts

Posted

Hola amigos, intente hacer un script para que cuando el player se logee , se reprodusca un sondio en cual no se reproduce...

  
  function sonido () 
     local sound = playSound("welcome/survivor1.wav") 
     setSoundVolume(sound, 0.5) 
     end 
  addEventHandler("onPlayerLogin", sonido) 

------------------------------------------------------------------------------------------

My scripts

http://community.multitheftauto.com/index.php?p=resources&s=details&id=6977

http://community.multitheftauto.com/index.php?p=resources&s=details&id=7740

Posted

playSound es client side, onPlayerLogin 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.

  • Recently Browsing   0 members

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