> For the complete documentation index, see [llms.txt](https://zsx-development.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zsx-development.gitbook.io/docs/resources/dealership/using-exclusive-content.md).

# Using Exclusive Content

To use exclusive content you have to enable exclusive content through:\
`Dealership/shared/config_exclusive.lua`

```lua
Exclusive.Retrieval = {
    use = true, -- SET USE TO TRUE 
    type = 'COINS', 
}
```

Now we have to configure the function to check the payment and do the payment. Head to:\
`Dealership/server/functions/sv_editable.lua`

```lua
Editable.ExclusivePayCheck = function(src, vehData)
    --Apply the code check if user have exclusive currency required for vehicle price. Example 
    local coins = 2000
    if coins >= vehData.price then
        return true
    end
    return false

    -- For help contact on discord discord.gg/MF9uVuWrQn
end

Editable.ExclusivePayForVehicle = function(src, vehData)
    local coins = 2000
    local receivedPay = false
    if coins >= vehData.price then
        --removeCoinsFunc(vehData.price)
        receivedPay = true
    else
        receivedPay = false
    end
    return receivedPay
    -- For help contact on discord discord.gg/MF9uVuWrQn
end
```

You have to add function to gather "**COINS**" amount and "**COINS**" removal.\
\
After that you can set your exclusive vehicle in database. All you have to do is add 1 in `isExclusive` column.\
![](/files/S7Pirbv6V38IcqQMvz6h)
