# showSound (Client)

> Writes the group and index of every world sound that plays to the debug console. Works only in development mode.

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

## Syntax

```lua
bool showSound(bool show)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `show` | `bool` | `true` to show, `false` to stop. |

## Returns

`true` in development mode, `false` outside it.

## Example

```lua
setDevelopmentMode(true)
showSound(true)
```

## See also

- [isShowSoundEnabled (Client)](https://wiki.mymp.gg/en/isShowSoundEnabled.md): Tells whether showSound is on.
- [setWorldSoundEnabled (Client)](https://wiki.mymp.gg/en/setWorldSoundEnabled.md): Turns the game world's sounds (footsteps, gunfire, collisions and more) on or off by group or one by one.
- [setDevelopmentMode (Client)](https://wiki.mymp.gg/en/setDevelopmentMode.md): Turns development mode on or off on this client. While it is on, the showcol and showsound console commands draw the collision shapes and the world sounds.
