resetWorldSounds | Multi Theft Auto: Wiki Skip to content

resetWorldSounds

Client-side
Server-side
Shared

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


This function is used to reset the world sounds to the default setting.

Syntax

bool resetWorldSounds ( )

Returns

  • bool: value

Returns true if the world sounds were reset, false otherwise.

Code Examples

shared

By this command player can choose to reset world sounds to the default setting if it has been changed before usingsetWorldSoundEnabled

function iWantTheDefaultSounds()
resetWorldSounds()
end
addCommandHandler('resetSounds' , iWantTheDefaultSounds )

See Also

World Functions