# Clothing Settings

### Adding a clothing item

Item names used : ‘tshirt’ , ‘torso’ , ‘pants’ , ‘shoes’ , ‘armour’ , ‘helmet’ , ‘mask’ , ‘glasses’

```lua
exports['bp_inventory']:AddItem(source, itemname, amount, {['drawable'] = 23 , ['texture'] = 2}, slot)
```

### Config\_items.lua Clothing settings

With this setting you can adjust your clothing system.

* esx\_skin -> automatic setting for this system.
* qb-clothing -> automatic setting for this system.
* others - > redirection for other clothing systems. You can see this in the config\_items.lua > otherclothingsystems function.

```lua
TriggerEvent("bp_inventory:autoclothebuy", newskin, oldskin, isfirst) 
```

You can use the event you see above in the buy section of your clothing system.

* newskin : indicates the newly determined skin data.
* oldskin : specifies the old skin data (you can make it false)
* isfirst : is the character being created for the first time? (true,false)

### Refresh clothes (resetup)

With this event, you can renew the character's clothes again (can be used at the exit of the clothes shop or at the first entrance)

```lua
TriggerEvent('bp_inventory:refreshclothe')
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.0resmon.org/0resmon/0resmon-1/bp-resources/bp-inventory/clothing-settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
