ResetWorldSounds

From Multi Theft Auto: Wiki
Revision as of 17:04, 7 November 2024 by Fernando187 (talk | contribs) (Remove obsolete Requirements section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.


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