# qb-phone

To fix the integrated qb-phone after removing qb-garages, and to see your owned vehicles on the garages app within the phone, you need to make two modifications to the qb-phone source code.

### Go to file `qb-phone/client/main.lua`

On **line 302** replace`qb-garage:server:GetPlayerVehicles` with `jg-advancedgarages:server:GetVehiclesPhone` (or you could do a find and replace in your text editor!), like in the screenshot below:

<figure><img src="/files/Y7FwETyWlhJLp071kqnM" alt=""><figcaption></figcaption></figure>

### Go to file `qb-phone/server/main.lua`

Comment out lines **229 - 241** like in the screenshot below:

<figure><img src="/files/BP03JKQ87qfOCHiTVMeh" alt=""><figcaption></figcaption></figure>


---

# 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.jgscripts.com/advanced-garages/integrations/qb-phone.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.
