IsSoundPanningEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 29: Line 29:
==See Also==
==See Also==
{{Client_audio_functions}}
{{Client_audio_functions}}
[[Category:Needs Example]]

Revision as of 12:53, 2 January 2014

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