- Documentation
- Client functions
- getSoundPan
Function
getSoundPan
Returns the sound's balance between speakers (-1 to 1).
Syntax
float getSoundPan(sound theSound)Arguments
theSoundsound- The sound.
Returns
The balance or false.
Example
outputChatBox(tostring(getSoundPan(sound)))
Notes
Does not work with playSound sounds. In the current version the function returns false.