# engineRemoveSound (Client)

> Removes a sound this resource registered with `engineAddSound`. If another registration of the same name exists, it takes over again.

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

## Syntax

```lua
bool engineRemoveSound(string name)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `name` | `string` | The sound's name. |

## Returns

`true` if the sound was removed, `false` if this resource had not registered that name.

## Example

```lua
engineRemoveSound("horn_custom")
```

## See also

- [engineAddSound (Client)](https://wiki.mymp.gg/en/engineAddSound.md): Registers an audio file under a name, which playSound and playSound3D then play by that name.
- [engineGetSounds (Client)](https://wiki.mymp.gg/en/engineGetSounds.md): Lists the named sounds in effect now: the game's, the packs' and the resources'.
