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

Function

getSFXStatus

ClientSound (client)Identical to MTA:SA

Checks whether a game audio container exists. The sound files are always in the game; whether a given bank will play is told by isSFXBankLoaded.

Syntax

bool getSFXStatus([string audioContainer])

Arguments

audioContainerstring, optional
The container, e.g. "genrl". Without an argument it tells whether the game sounds are available to scripts at all (playSoundFrontEnd).

Returns

true for a known container.

Example

outputChatBox(tostring(getSFXStatus("genrl")))

See also