GetSoundMetaTags: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with '__NOTOC__ {{Client function}} Used to get the meta tags attached to a sound. These provide information about the sound, for instance the title or the artist. ==Syntax== <syntaxhighlight lang="lua">…')
 
No edit summary
Line 10: Line 10:


===Returns===
===Returns===
Returns a [[table]] with all data available for the sound if successful, ''false'' otherwise.
Returns a [[table]] with all data available (keys are listed below) for the sound if successful, ''false'' otherwise.


{{Sound_Meta_Tags}}
{{Sound_Meta_Tags}}

Revision as of 16:53, 9 August 2010

Used to get the meta tags attached to a sound. These provide information about the sound, for instance the title or the artist.

Syntax

table getSoundMetaTags ( element sound )

Required Arguments

Returns

Returns a table with all data available (keys are listed below) for the sound if successful, false otherwise.

  • title
  • artist
  • album
  • genre
  • year
  • comment
  • track
  • composer
  • copyright
  • subtitle
  • album_artist
  • stream_name
  • stream_title

Example

-- TODO

See Also