# CFX::SET_PED_DEFAULT_COMPONENT_VARIATION

- **Hash:** `0xC866A984`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `SetPedDefaultComponentVariation`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/SET_PED_DEFAULT_COMPONENT_VARIATION

## Signature

```c
void SET_PED_DEFAULT_COMPONENT_VARIATION(Ped ped);
```

## Parameters

- `ped` (`Ped`)

## Returns

`void`

## Description

*Source: Cfx.re native reference*

```
Sets Ped Default Clothes
```

**This is the server-side RPC native equivalent of the client native [SET_PED_DEFAULT_COMPONENT_VARIATION](?\_0x45EEE61580806D63).**

## Usage

### Lua

```lua
SetPedDefaultComponentVariation(ped)

-- always available, by hash
Citizen.InvokeNative(0xc866a984, ped)
```

### JavaScript

```js
SetPedDefaultComponentVariation(ped);

// by hash
Citizen.invokeNative('0xc866a984', ped);
```

### C#

```csharp
Function.Call((Hash)0xc866a984, ped);
```

*Sources: Cfx.re native reference.*
