ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. isSoundLooped

Function

isSoundLooped

ClientAudioIdentical to MTA:SA

Checks whether a sound loops.

Syntax

bool isSoundLooped(sound theSound)

Arguments

theSoundsound
The sound.

Returns

true if looped.

Example

outputChatBox(tostring(isSoundLooped(music)))

Notes

Does not work with playSound sounds. In the current version the function returns false.

See also