# Events

## Open shop UI

<mark style="color:green;">`CLIENT`</mark>&#x20;

```lua
-- Clothing
TriggerEvent('lvs_clothing:client:OpenClothingShop')

-- Barber
TriggerEvent('lvs_clothing:client:OpenBarberShop')

-- Tattoo
TriggerEvent('lvs_clothing:client:OpenTattooShop')

-- Surgeon
TriggerEvent('lvs_clothing:client:OpenSurgeonShop')
```

***

## Open player outfit UI

<mark style="color:green;">`CLIENT`</mark> <mark style="color:green;"></mark><mark style="color:green;">/</mark> lvs\_clothing:client:openOutfit

```lua
TriggerEvent('lvs_clothing:client:openOutfit')
```

***

## Open outfit UI by sending the clothes as a parameter

<mark style="color:green;">`CLIENT`</mark> <mark style="color:green;"></mark><mark style="color:green;">/</mark> lvs\_clothing:client:loadJobOutfit

```lua
uniforms = {
    male = {
        {
            name = "Outfit 1",
            tags = "No tags",
            outfitData = {
                ["arms"] = {item = 1, texture = 0}, -- Arms
                ["t-shirt"] = {item = 15, texture = 0}, -- T-Shirt
                ["torso2"] = {item = 87, texture = 1}, -- Jackets
                ["vest"] = {item = 0, texture = 0}, -- Vest
                ["decals"] = {item = 0, texture = 0}, -- Decals
                ["accessory"] = {item = 0, texture = 0}, -- Neck
                ["bag"] = {item = 0, texture = 0}, -- Bag
                ["pants"] = {item = 59, texture = 0}, -- Pants
                ["shoes"] = {item = 25, texture = 0}, -- Shoes
                ["mask"] = {item = 16, texture = 1}, -- Mask
                ["hat"] = {item = 14, texture = 4}, -- Hat
                ["glass"] = {item = 0, texture = 0}, -- Glasses
                ["ear"] = {item = 0, texture = 0} -- Ear accessories
            },
            grades = {0, 1, 2, 3, 4},
        },
        ...
    },
    female = ...
}

TriggerEvent('lvs_clothing:client:openJobOutfitsMenu', uniforms.male)
```

***

## Set a job uniform programmatically

<mark style="color:green;">`CLIENT`</mark> <mark style="color:green;"></mark><mark style="color:green;">/</mark> lvs\_clothing:client:openOutfit

```lua
uniform = {
    jobName = 'police',
    gender = 'male',
    label = 'custom #1',
    outfitData = {
        ["arms"] = {item = 1, texture = 0}, -- Arms
        ["t-shirt"] = {item = 15, texture = 0}, -- T-Shirt
        ["torso2"] = {item = 87, texture = 1}, -- Jackets
        ["vest"] = {item = 0, texture = 0}, -- Vest
        ["decals"] = {item = 0, texture = 0}, -- Decals
        ["accessory"] = {item = 0, texture = 0}, -- Neck
        ["bag"] = {item = 0, texture = 0}, -- Bag
        ["pants"] = {item = 59, texture = 0}, -- Pants
        ["shoes"] = {item = 25, texture = 0}, -- Shoes
        ["mask"] = {item = 16, texture = 1}, -- Mask
        ["hat"] = {item = 14, texture = 4}, -- Hat
        ["glass"] = {item = 0, texture = 0}, -- Glasses
        ["ear"] = {item = 0, texture = 0} -- Ear accessories
    },
}

TriggerEvent("lvs_clothing:client:loadJobOutfit", uniform)
```

***
