Jump to content

trgameraptor

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by trgameraptor

  1. 1 hour ago, pa3ck said:

    First make sure you keep the sound element in a variable (sound = playSound("...") ) then there is more than likely an event in your code which triggers when the user logs in. If you use the default login system, then there's a server-side event "onPlayerLogin" which you can use to turn off the sound on client-side with a trigger

    I could not code Would you help me do it
  2. Hello friends,

    The music stops when the player logs in 
    how can I do ? 

     

    addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function()
        setTimer(function()
            playSound("joinsound.mp3")
        end, 200, 1)
    end
    )

     

×
×
  • Create New...