GetSoundLevelData: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
Line 32: Line 32:
{{Client_audio_functions}}
{{Client_audio_functions}}
[[Category:Needs Example]]
[[Category:Needs Example]]
[[AR:getSoundLevelData]]

Revision as of 04:14, 6 May 2013

This function gets the left/right level from a sound element. If the element is a player, this function will use the players voice.

Syntax

int, int getSoundLevelData ( element theSound )

Required Arguments

  • theSound The sound element which level data you want to return.

Returns

Returns a 2 values with Left, Right level data from sound, false otherwise.

Example

TODO

--TODO

Requirements

This template will be deleted.

Changelog

Version Description
1.3.2 Added player element to use a players voice

See Also