# Appearance

## Client

### get\_clothing\_and\_prop\_values

Returns maximum values for clothing and prop UI sliders based on ped model.

#### Parameters

* sex: `string`

#### Returns

* `table`

```lua
bdtk.get_clothing_and_prop_values(sex)
```

***

### set\_ped\_appearance

Applies genetics, hair, overlays, clothes, and tattoos to the player's ped.

#### Parameters

* player: `number`
* data: `table`

#### Returns

* `void`

```lua
bdtk.set_ped_appearance(player, data)
```

***

### update\_ped\_appearance

Updates the internal `ped_styles` table and re-applies the appearance.

#### Parameters

* sex: `string`
* category: `string`
* id: `string|nil`
* value: `any`

#### Returns

* `void`

```lua
bdtk.update_ped_appearance(sex, category, id, value)
```

***

### change\_player\_ped

Changes the player's model based on the given sex.

#### Parameters

* sex: `string`

#### Returns

* `void`

```lua
bdtk.change_player_ped(sex)
```

***

### appearance\_rotate\_ped

Rotates the player's ped in a specific direction.

#### Parameters

* direction: `string`

#### Returns

* `void`

```lua
bdtk.appearance_rotate_ped(direction)
```

***

### load\_player\_appearance

Loads and applies a full character model including clothing and features.

#### Parameters

* data: `table`

#### Returns

* `void`

```lua
bdtk.load_player_appearance(data)
```

***

## Shared

### get\_ped\_appearence

Returns the current style data from `ped_styles` for a given sex.

#### Parameters

* sex: `string`

#### Returns

* `table`

```lua
bdtk.get_ped_appearence(sex)
```

***

### reset\_appearence\_styles

Resets the internal `ped_styles` table to its default values.

#### Returns

* `void`

```lua
bdtk.reset_appearence_styles()
```
