---
name: "isRemoteExecuted"
type: command
status: ok
groups: ["Multiplayer"]
arma3_since: "1.66"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/isRemoteExecuted
revid: 365039
updated: 2024-07-14T13:22:37Z
---

# isRemoteExecuted

*Command · Multiplayer · Arma 3 v1.66*

## Description

Returns [true](../commands/true.md) if the code context is being remote executed by [remoteExec](../commands/remoteExec.md) or [remoteExecCall](../commands/remoteExecCall.md). In SP always returns [false](../commands/false.md). See also [isRemoteExecutedJIP](../commands/isRemoteExecutedJIP.md):

| command | Single Player | Multiplayer |  |
|---|---|---|---|
| Direct remoteExec | JIP remoteExec |  |  |
| [isRemoteExecuted](../commands/isRemoteExecuted.md) | ✗ | ✓ | ✓ |
| [isRemoteExecutedJIP](../commands/isRemoteExecutedJIP.md) | ✗ | ✗ | ✓ |

## Syntax

```sqf
isRemoteExecuted
```

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

## Examples

### Example 1

```sqf
private _remoteExecuted = isRemoteExecuted;
```

## See also

[isRemoteExecutedJIP](../commands/isRemoteExecutedJIP.md) · [remoteExec](../commands/remoteExec.md) · [remoteExecCall](../commands/remoteExecCall.md) · [canSuspend](../commands/canSuspend.md) · [remoteExecutedOwner](../commands/remoteExecutedOwner.md) · [isUIContext](../commands/isUIContext.md) · [isGamePaused](../commands/isGamePaused.md) · [isGameFocused](../commands/isGameFocused.md) · [remoteExecutedJIPID](../commands/remoteExecutedJIPID.md)

## Community notes

**Demellion** — 2017-09-11

When [remoteExec](../commands/remoteExec.md)/[remoteExecCall](../commands/remoteExecCall.md) is called from a headless client to client, this will always return as false.

This effect also occurs with [remoteExecutedOwner](../commands/remoteExecutedOwner.md) - it will return always return 0 from a headless client.

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