SetGlobalSoundVolume

Definition

SetGlobalSoundVolume(float volume)

Description

This function sets the global sound volume.

Parameter

volume
Specifies the global sound volume. This value must be in the range [0.0, 1.0].

Example

function Init()
    SetGlobalSoundVolume(0.5)
end

function Update()

end
This script sets the global sound volume to 0.5.
adminSetGlobalSoundVolume