Jump to content

Sound position


SpecT

Recommended Posts

Hey guys!

Am I using it wrong or there is a problem with that function?

I want to sync the song position between the client and server. So I send the length (in milliseconds) to the client using the function setSoundPosition. But for some reason it does nothing.

What's the problem and am I doing it wrong ?

example code:

function example(soundElement,position) 
    if isElement(soundElement) then 
        setSoundPosition(soundElement,position) 
    end 
end 

Thanks in advance!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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