ResetWorldSounds

From Multi Theft Auto: Wiki
Revision as of 19:47, 28 October 2019 by Botder (talk | contribs)
Jump to navigation Jump to search

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

Syntax

bool resetWorldSounds()

Returns

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

Requirements

This template will be deleted.


Example

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

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

See Also