[BUG] Attempt to index a nil value (field '?')

I thought this was something to do with my files, but I have re-downloaded the whole QBcore-framework and same error.

To reproduce
Test drive a vehicle, car type doesn’t matter I think. Then after a test drive, the error usually pops ups.

Expected behavior
When the error pops up, the vehicle menu does not pop up / vehicle header. But… there have been instances where the error pops up
and I can still test drive the vehicle. + Random NPC cars may spawn inside the shop, which is a bug in it’s self I think.

Reinstalled everything (8/19/2022)
Game Build = 2372

Snippets:

Vehicleshop Client.Lua

ComboZone.Lua
image

This only happens when it teleports them back to the shop?

Yes, and I have to rejoin the server for it to work again.

Have you taken a look at it? :slightly_smiling_face:

1 Like

i have the same error, you have any idee how to fix it ?

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