cars not showing in phone garage
hamzaulhaq opened this issue · 12 comments
cannot see cars in phone garages
Same issue cars not showing in garage
Also I know we have banking through the info app but it would be nice to have a actual bank app
[ script:qb-core] SCRIPT ERROR: citizen:/scripting/lua/scheduler.lua:741: SCRIPT ERROR: @qb-phone/server/garage.lua:57: attempt to index a nil value (global 'Garages')
[ script:qb-core] > ref (@qb-phone/server/garage.lua:57)
[ script:qb-core] > processTicksAndRejections (node:internal/process/task_queues:96)
RegisterNetEvent('qb-phone:client:updateGarages', function()
SendNUIMessage({
action = "UpdateGarages",
})
end)
Give that ago. (At line 57 remove the old RegisterNetEvent and replace it with the one above.)
i would also like to know as i have the same issue
Did you get the same error message that I did? And how come it's not the same as the latest build even though I just downloaded it? Try to provide more information; maybe I can help. Pada tanggal Kam, 2 Mar 2023 pukul 22.59 Soldierofthelam < @.> menulis:
…
if you got this SCRIPT ERROR: @qb-phone/server/garage.lua:57: attempt to index a nil value (global 'config') you can delete the commented part because config.Garages doesnt exist [image: image] https://user-images.githubusercontent.com/62457327/222362973-f7d375ee-01de-41f6-9f4a-631775d2c19a.png [image: image] https://user-images.githubusercontent.com/62457327/222363478-215bd7e7-70e9-4cae-9f71-02413b3f5806.png I've already tested that line of code make no difference that line of code isn't the same as for latest qb-phone build When you comment out that line all it does is stop the error from logging in the console so now it doesn't work still with no log. But you info did give me a place to start looking for the solution on my end may be different for others [image: Desktop Screenshot 2023 03 02 - 10 57 35 40] https://user-images.githubusercontent.com/117047687/222482257-7d10150d-1cc7-41e5-9216-209a18511325.png [image: Desktop Screenshot 2023 03 02 - 10 58 19 75] https://user-images.githubusercontent.com/117047687/222482314-82654959-d265-43f2-83fa-fb207893f99f.png — Reply to this email directly, view it on GitHub <#106 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO4QL345SNIK6GUXCMCJRWLW2C7XXANCNFSM6AAAAAAVJPAQDI . You are receiving this because you commented.Message ID: @.>
Yes I was getting the same error as you.
I deleted out that post message cause I was wrong,
When I noticed my jobs weren't showing up either,
When I commented out the line of code like you said I forgot to do the following step in the read me file,
Under employment
Did the steps and all is well now everything seems to be functioning so thank you for the advice.
[ script:qb-core] SCRIPT ERROR: citizen:/scripting/lua/scheduler.lua:741: SCRIPT ERROR: @qb-phone/server/garage.lua:72: attempt to index a nil value (local 'VehicleData')
[ script:qb-core] > ref (@qb-phone/server/garage.lua:72)
[ script:qb-core] > processTicksAndRejections (node:internal/process/task_queues:96)
Can Find Out My Car Using Phone Can Any Help Me Out
Fixed in a previous update