# 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="https://2634326805-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5JvyqF9ko9gRINJoIFwY%2Fuploads%2FVjogrPCBLxSleH40aH90%2Fjg-integration.png?alt=media&#x26;token=d17d8543-5671-421e-bf89-7bc25655dedc" 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="https://2634326805-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5JvyqF9ko9gRINJoIFwY%2Fuploads%2FCyDmC8IJvfctZ0fSzAoI%2Fjg-integration2.png?alt=media&#x26;token=3f28b1d1-19ff-402e-b1aa-66522fb26033" alt=""><figcaption></figcaption></figure>
