IsSoundPanningEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
__NOTOC__  
__NOTOC__  
{{Client function}}
{{Client function}}
{{New feature/item|4.0130|1.3.0|4162|
{{New feature/item|3.0130|1.3.0|4162|
This function gets the panning state from a [[sound]] [[element]].
This function gets the panning state from a [[sound]] [[element]].
}}
}}

Revision as of 08:31, 19 April 2013

This function gets the panning state from a sound element.

Syntax

bool isSoundPanningEnabled ( element theSound )

Example Function

function testCall()
	local sound = playSound("xy.mp3")
	local soundPanning = isSoundPanningEnabled(sound)
end

Required Arguments

Returns

Returns true whether the sound swings, false if it does not.

Requirements

This template will be deleted.

See Also