# Paid Resources

## Vehicle Shop

### okok-vehicleshop

{% stepper %}
{% step %}
**Give keys after vehicle purchase**

Add the line of code exactly as seen in the screenshot below.

{% code title="okokVehicleShop/cl\_utils.lua — line 33 (approx)" %}

```lua
TriggerEvent('cd_garage:AddKeys', plate)
TriggerEvent('cd_garage:RemoveKeys', plate)
```

{% endcode %}

<figure><img src="/files/IxUx2XuLfEYllhM7MoPq" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Set garage type after a vehicle is purchased (for boats and air vehicles)**

Add the line of code exactly as seen in the screenshot below.

{% code title="okokVehicleShop/sv\_utils.lua — line 385 (approx)" lineNumbers="true" %}

```lua
TriggerClientEvent('cd_garage:UpdateGarageType', source)
```

{% endcode %}

<figure><img src="/files/pajhcoFD80eNfN1X1u0t" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

***

## Housing

### ps-housing

{% stepper %}
{% step %}
**Give keys after vehicle purchase.**

View the code on GitHub: [ps-housing/client/cl\_property.lua](https://github.com/Project-Sloth/ps-housing/blob/8e5eaa9684f720022d7089146a6b8354dd141fe2/client/cl_property.lua#L258).

Replace whole function.

<figure><img src="/files/jGI6y2f1npC1Ga1mOBg2" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# 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.codesign.pro/paid-scripts/garage/resource-integration/paid-resources.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.
