[RELEASE] renzu_garage - v1.8 - Advanced Garage Fivem

yep is esx and all is in my DB…

I updated your latest version, but there are still problems of taking out the vehicle indefinitely and being unable to impound the vehicle. Can you help me?

whats your esx version?
plate system? check the config.lua about plate spaces.

esx1.2 The following error message will also appear

i am not sure yet, this error is saying the parkedvehicles is nil
but there is a parkedvehicles = {} from your server.lua right?

so i only suspect that the mysql custom func returned a nil on empty result, that possibly broke the variable.

1 Like

When I modified it, there was still the problem of no seizure and unlimited driving

you can try downloading the latest branch from github to prevent this error

If i put my Car out and go again in the Garage and take the vehicle again out the car dupes, without errors. help…

make sure you are using the latest version. and the use a proper plate spacing config @config.lua

i has but the car only despawns if i park, like i park the car with the function then go into the garages and my car whats parked is in no more there but my car i spawned out of garage, without it, it does not despawn. sorry for my bad englisch

also if you crash your car and make it broke and go back to the garage without the car, the car seems fine in the garage without damage…

the car must be stored to garage to store the health and other things, i wont make it on everytime you get out of a car which is not a optimized way.

i just tweak the vehicle deleter again. download the latest version from github (main branch)
if you still cant delete the vehicle. its mean there is no plate in your vehicle properties @ owned_vehicles.vehicle

I downloaded the latest version, but the same problem still occurred

i just pushed it minute ago. you already download it

I just saw that when I used the latest version, the problem still existed


can you import the required SQL.
the isparked column is missing

ALTER TABLE owned_vehicles

ADD garage_id varchar(32) NOT NULL DEFAULT 'A';

ALTER TABLE owned_vehicles

ADD impound int(1) NOT NULL DEFAULT 0;

ALTER TABLE owned_vehicles

ADD stored int(1) NOT NULL DEFAULT 0;

ALTER TABLE owned_vehicles

ADD `type` varchar(32) NOT NULL DEFAULT 'car';

ALTER TABLE owned_vehicles

ADD `job` varchar(32) NOT NULL;

ALTER TABLE owned_vehicles

ADD park_coord LONGTEXT NULL DEFAULT '[]';

ALTER TABLE owned_vehicles

ADD isparked int(1) NULL DEFAULT 0;

I’m sorry I didn’t pay attention. I updated the server according to your latest method without prompting errors, but I still can take out the vehicle and impound the vehicle continuously

is the plate 1 is your plate car?
if yes, you should disable plate spacing in config,
the script will not 100% work if your plate is not a normal plate system, like ABC 123

sir can i ask if the garage is saving the color of the vehicle ?
because if i try to change it color the primary and the secondary the primary retain but the secondary gone
i try the advanced garage and it works and register all ?

1 Like

I found the bug with secondary color
It will be fixed on next big update of the garage. I will try to make it today.

1 Like