# getSFXStatus (Client)

> Tells whether a GTA San Andreas audio container is available to `playSFX` and `playSFX3D`.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Client
- **Category**: Sound
- **URL**: https://wiki.mymp.gg/en/getSFXStatus

## Syntax

```lua
bool getSFXStatus(string container)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `container` | `string` | SA's audio container: `feet`, `genrl`, `pain_a`, `script`, `spc_ea`, `spc_fa`, `spc_ga`, `spc_na` or `spc_pa`. |

## Returns

`true` if the container can be used, `false` otherwise. For `radio`, it warns and returns `false`.

## Example

```lua
if not getSFXStatus("genrl") then
    outputDebugString("genrl sounds are not available")
end
```

## See also

- [playSFX (Client)](https://wiki.mymp.gg/en/playSFX.md): Plays a sound from GTA San Andreas's audio banks, with no position in the world.
- [playSFX3D (Client)](https://wiki.mymp.gg/en/playSFX3D.md): Plays a sound from GTA San Andreas's audio banks at a position in the world.
