[Release][Free][ESX] esx_garaging

Thanks I managed to get it working, would be great to have the function to invite other players in. but over all great script

how did you get it working?

in the script their is " " or somthing so when your trying to put the vehicle into the garage when its reading the plate its adding a space onto the end of it so it wont work you just gotta remove that

Replace this
for VehicleIndex, CurrentVehicle in pairs(PlayerVehicles) do
if CurrentVehicle.garage == Index then
VehiclesInGarage = VehiclesInGarage + 1
print(CurrentVehicle.plate … ’ - ’ … VehiclePlate)
if CurrentVehicle.plate…" " == VehiclePlate then
CanGoIn = true
end
end

                                        if CurrentVehicle.plate.." " == VehiclePlate then
                                            OwnedVehicle = true
                                        end
                                    end

with this
for VehicleIndex, CurrentVehicle in pairs(PlayerVehicles) do
if CurrentVehicle.garage == Index then
VehiclesInGarage = VehiclesInGarage + 1
print(CurrentVehicle.plate … ’ - ’ … VehiclePlate)
if CurrentVehicle.plate == VehiclePlate then
CanGoIn = true
end
end

                                        if CurrentVehicle.plate == VehiclePlate then
                                            OwnedVehicle = true
                                        end
                                    end

Yeah i know. It is there because it is in most servers needed. (Atleast in mine) It depends on the vehicleshop your using. But i will fix this issue so it works for all systems/shops.

Yeah can you please help with the problem of any vehicle bought comes back as not my vehicle, im using esx_advancedvehicleshop

1 Like

Hello, I have a problem.
no matter what i do the garage says it’s not my vehicle.
so I can’t park cars.
How can I fix this?

1 Like

I fixed this issue in the new release!

1 Like

Unfortunately I still have the problem :confused:

yes same issue to me i’m not in my vehicle help please

Hello i have the same issue i buy 4 other cars and still say it’s not your car

it seem like vehicleshop issue because of esx any suggestions?

Thx you for this mod , i love you xD I have been trying to make a similar mod for months without success

How can I fix the problem that says the vehicle is not mine? could anyone do a quick tutorial?

need to change server side for esx 1.2

Update/Fix

I have fixed some issues regarding getting stuck inside the garage!

  • When leaving in garage you will be brought to the door when joining again.
  • Working on a way to teleport back after restart. GitHub Issue

Download

Check original post.

Hey ! Thx for the good work ! I have a question, when you return a vehicle, it duplicates the vehicle, after return, there is 1 car outside and 1 inside. Is there a fix ?

I have the problem that say the vehicle is not mine and if i remove " " the script go wrong

Hey do you have an update for one sync atall?

same problems, help