OnClientSoundChangedMeta: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Fixed error)
m (Added See Also menu (Deleted by accident))
Line 23: Line 23:
</syntaxhighlight>
</syntaxhighlight>
</section>
</section>
==See Also==
{{Sound functions}}

Revision as of 16:32, 24 May 2012

This event is triggered when a sound's meta tags have been modified.

Parameters

string streamTitle
  • streamTitle: The title of a specific stream

Source

The source of this event is the sound of which the meta tags have just been modified.

Example

Click to collapse [-]
Client

This example will output the new stream title in the chatbox.

addEventHandler("onClientSoundChangedMeta", root, function(streamTitle)
    outputChatBox("* Now streaming: "..streamTitle, 255, 200, 0, false)
end)

See Also

Template:Sound functions