[Free][ESX] Garages & Impounds

Which vehicles do you have in the owned_vehicles table?

nothing

i just started the server

You’re also getting an no exports error, make sure you are starting qtarget and PolyZone before the garage resource.

finaly installed but when i put car says you dont own any vehicle

Hi mate, please see the clip below


I’m having this issue, not getting any errors in console, I have resources started in this order: PolyZone, qtarget, nh-context and then luke_vehiclegarage. Have you seen this before?

I enforced game build and the menu appears now, however when pulling out a vehicle it doesn’t spawn and I get this error. Any ideas? :smiley:

Do you get anything in the server console?

No errors in server console, seemed like the menu appearing was a one off as now it no longer does. When accessing the garage, I get this error in client console:


I’m using extendedmode but I have the imports from ESX_Legacy for getSharedObject setup which is allowing qtarget to work

Any reason my peds would be floating, other than the Z coordinate being wrong ? I’ve adjusted the Z for the Ped, but they don’t like to change position at all and continue to float no matter what I change

Make sure you are adjusting the Z coordinate of the actual peds and not the polyzone, that’s 100% the issue as the peds get frozen so the Z coordinate is usually off by 1

Hello, so I’m getting this error:
Error loading script @es_extended/imports.lua in resource luke_vehiclegarage: citizen:/scripting/lua/scheduler.lua:932: An error happened while calling export getSharedObject of resource es_extended (citizen:/scripting/lua/MessagePack.lua:830: missing bytes), see above for details
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:932: in method ‘getSharedObject’
@es_extended/imports.lua:1: in main chunk
Failed to load script @es_extended/imports.lua.
Error loading script server/server.lua in resource luke_vehiclegarage: @luke_vehiclegarage/server/server.lua:1: attempt to index a nil value (global ‘ESX’)
stack traceback:
@luke_vehiclegarage/server/server.lua:1: in main chunk
Failed to load script server/server.lua.

You need ESX Legacy, as stated at the very top of the post.

Do I need everything from the ESX Legacy folder, because I basically don’t want anything other then the needed from it?

I don’t know. You need ESX Legacy, not parts of it.

I cant manage to get the cars out of the garage

Are you using an edited version of nh-context?

not that I know of, I will download the one you have

I am also on version 2189 would that matter? as its pretty new I believe

No, as long as your game build is above 1868 it doesn’t matter.