---
name: "hasCustomFace"
type: command
status: ok
groups: ["Unit Identity"]
arma3_since: "2.18"
locality: {"argument": "global", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/hasCustomFace
revid: 369746
updated: 2024-10-08T15:07:09Z
---

# hasCustomFace

*Command · Unit Identity · Arma 3 v2.18*

Locality: arguments **global**

## Description

Get whether or not a player has an available custom face file.

> [!NOTE]
> To check if this custom face is currently being used, use [face](../commands/face.md) (returns "Custom" in that case).

## Syntax

```sqf
hasCustomFace person
```

**Parameters:**

- `person`: [Object](../topics/Object.md)

**Returns:** [Boolean](../topics/Boolean.md) - [true](../commands/true.md) if player has a `face.paa/jpg` file in their current profile and it is usable

## Examples

### Example 1

```sqf
if (isPlayer _thisUnit && hasCustomFace _thisUnit && face _thisUnit != "Custom") then
{
    [_thisUnit, "Custom"] remoteExec ["setFace", 0, true];
};
```

## See also

[face](../commands/face.md) · [setFace](../commands/setFace.md) · [setIdentity](../commands/setIdentity.md) · [setSpeaker](../commands/setSpeaker.md)

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