# 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)


---

# 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://zsx-development.gitbook.io/docs/resources/dealership/using-exclusive-content.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.
