Qb-vehicle shop bug

When a player test drives or tries to buy a car, it instantly says test drive is over then the player is stuck in the car

error code: [ 98844] [b3258_GTAProce] MainThrd/ ^3Warning: [entity] GetNetworkObject: no object by ID 0^7

Ive tried everything and nothing seems to help

try to update / or downgrade the qb-vehicleshop resource, qb-core is an ongoing project and sometimes things break with new resources, patch updates, and even new server recipes.
it sounds like it is not deleting the vehicle or releasing the player.
If you are trying to use addon cars for the shop, sometimes they can do things like this because it isn’t a native GTA Vehicle Entity.

It is much easier to try upgrade/downgrade instead of auditing every line of code.
if it persists after both of those options, then there is a great chance that there is another resource conflicting with vehicleshop and how the server deals with vehicles.
Replacing any qb-core resource with ox or ps will break stuff too.
be sure that you don’t have a mixture of qbcore1 and qbcore2 resources.

First thank you so much for the feedback im running the latest version of QB with PS hud/PS Inventory and PS fuel lol so i may have caused my own issue here. When you say upgrade or downgrade, how would i go about doing that? I heard that qb1 is better than qb2 so it might be that as well

ok, from that new info I would point toward that ps-fuel script to be a culprit, though it could be a hud issue but not as likely… run through the installation process again for ps-fuel.

i really do think that it would be an issue with qb-vehicleshop if it is a fresh server

qb2 is just new and has a few bugs still. qb1 has been well developed over a long time so it is more stable to use that system.

below is a fresh backup copy of the version of qb-vehicleshop that I have been using… you will have to make any necessary changes you need to make it fit your server. its a fresh copy… test to see if everything works and go from there.

qb-vehicleshop.zip (37.0 KB)

Note: Everytime that I have done any work with qb-vehicleshop, I have had to restart the whole server for any changes to take effect. It won’t restart within the F8 console.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.