# 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="https://789235289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSKsM-AnxI2icNixJI8%2Fuploads%2FNsS47KAcuar8ExhN8WTC%2FScreenshot%202026-03-26%20120812.jpg?alt=media&#x26;token=eebc7bbc-f7ca-4d38-b509-18406ccae708" 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="https://789235289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSKsM-AnxI2icNixJI8%2Fuploads%2FAYy8mswm6bBMhsOSmseY%2FScreenshot%202026-03-26%20121413.png?alt=media&#x26;token=079e1d45-3f91-41ca-90f0-9117326934dc" 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="https://789235289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSKsM-AnxI2icNixJI8%2Fuploads%2Ft6nI6H0EBJ038QE62Zkv%2Fdocs1.png?alt=media&#x26;token=c1ddabbb-7d95-4eef-ba10-1b9bb68593ff" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}
