---
name: "removeAllMPEventHandlers"
type: command
status: ok
groups: ["Multiplayer"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/removeAllMPEventHandlers
revid: 321196
updated: 2022-05-13T15:24:42Z
---

# removeAllMPEventHandlers

*Command · Multiplayer · Arma 3 v0.50 · introduced in Arma 2: Operation Arrowhead v1.55*

Locality: arguments **global** · effect **global**

## Description

Removes all MP event handlers of the given type which were added by [addMPEventHandler](../commands/addMPEventHandler.md). Command needs to be executed only on one PC for MP event handler to be removed globally.

## Syntax

```sqf
objectName removeAllMPEventHandlers event
```

**Parameters:**

- `objectName`: [Object](../topics/Object.md)
- `event`: [String](../topics/String.md)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
player removeAllMPEventHandlers "MPKilled";
```

## See also

[addMPEventHandler](../commands/addMPEventHandler.md) · [removeMPEventHandler](../commands/removeMPEventHandler.md)

<sub>Source: [BI Community Wiki — removeAllMPEventHandlers](https://community.bistudio.com/wiki/removeAllMPEventHandlers) (revision 321196).</sub>
