qb-garages icon indicating copy to clipboard operation
qb-garages copied to clipboard

QB Phone Not Working with Vehicles

Open jigglyblunt opened this issue 1 year ago • 6 comments

Hello,

i'm not sure why but when you click the vehicle icon within QB phone, there is nothing displayed. No client side or server side issues arise to point to. I otherwise am enjoying your garages, better then the core downloaded one.

thanks for all you do and hope to see a solution soon :)

jigglyblunt avatar Dec 31 '23 03:12 jigglyblunt

It happens to me too.

Marky2701 avatar Jan 02 '24 16:01 Marky2701

I'll look into it.

JonasDev17 avatar Jan 04 '24 13:01 JonasDev17

Hello I fixed by my self so I shared it to you

Just missing an "S" from

server.lua - line 415

QBCore.Functions.CreateCallback('qb-garage:server:GetPlayerVehicles', function(source, cb)

change by

QBCore.Functions.CreateCallback('qb-garages:server:GetPlayerVehicles', function(source, cb)

rapeurtueur avatar Jan 04 '24 13:01 rapeurtueur

Can you help me in return? I can't debug the functionality to track the vehicle from the phone

rapeurtueur avatar Jan 04 '24 13:01 rapeurtueur

There is an export in my garages script (TrackVehicleByPlate) Screenshot_20240105-160222_Brave

use it like this:

exports['qb-garages']:TrackVehicleByPlate(plate)

JonasDev17 avatar Jan 05 '24 15:01 JonasDev17

May I ask maybe for a template to set up a garage for a gang please? I don't quite understand well how it works

Marky2701 avatar Jan 11 '24 20:01 Marky2701