# CFX::SET_PLAYER_TALKING_OVERRIDE

- **Hash:** `0xFC02CAF6`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `SetPlayerTalkingOverride`
- **Side:** client (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/SET_PLAYER_TALKING_OVERRIDE

## Signature

```c
void SET_PLAYER_TALKING_OVERRIDE(Player player, BOOL state);
```

## Parameters

- `player` (`Player`) — The target player.
- `state` (`BOOL`) — Overriding state.

## Returns

`void`

## Description

*Source: Cfx.re native reference*

the status of default voip system. It affects on `NETWORK_IS_PLAYER_TALKING` and `mp_facial` animation.
This function doesn't need to be called every frame, it works like a switcher.

## Usage

### Lua

```lua
SetPlayerTalkingOverride(player, state)

-- always available, by hash
Citizen.InvokeNative(0xfc02caf6, player, state)
```

### JavaScript

```js
SetPlayerTalkingOverride(player, state);

// by hash
Citizen.invokeNative('0xfc02caf6', player, state);
```

### C#

```csharp
Function.Call((Hash)0xfc02caf6, player, state);
```

*Sources: Cfx.re native reference.*
