[RE-RELEASE] esx_eden garage2: 3 in 1 garage

Hello Jager_Bom after all very nice job with that script mate, thanks for develop for this community. :wink:

I have istalled your “esx_je_eden_garage2” in my server and i have all garages working very nice !

I have added “eden_garage_en” and “owned_vehicles” in my DB sussefull too.

But i can not see any impounded center in the map for I take lost cars. Can you tell me why or what I need ?

Thanks mate :grinning:

just install this sql, it’s complete :slight_smile:https://github.com/TanguyOrtegat/esx_jb_eden_garage2/blob/master/SQLs/owned_vehicles.sql

Any errors ?

garage can’t save fuel ? it reset fuel every time the vehicle is called out

yeah like i said, i have already the ““owned_vehicles” in my DB successful too.”

Just now i see the yellow circles act like the impounded center :sweat_smile:

I do a lot of tests and everything is perfect 0 errors.

Got some visual suggestions for you improve that script to be better “in my opinion” let me say:

image

Exits = Impounded “in red color”

—now come some skill in code;—

Returns = In Garage Name “without () and all in green color”

Add some space from the words to the table.

Well this idea will reduce a lot of spam in table and will give much more clean vision.

Example:

image

What do you think mate ? :smiley:

It’s your fuel system resetting the fuel because fuel is saved in database

Yes it looks neater but haven’t got time to make those changes. You can change them and do a push request

1 Like

hello Jager_Bom this is a very good script, thank you for release it for the community. I have used this script and I found a bug, I don’t have a missing car, when I go to the yellow circle and it says “No Vehicle take out” and I press “enter”, my money will decrease even though there is no return car.

and how to edit this script if the missing car only can return just in one garage likes garage_centre?

It says you can not store this vehicle pls help me

any errors ?

maybe a showccase ?

Excuse me if i sound dumb, but where do i change the colour and how

hello I am using the es_extender version 1.0.2 and this problem appears to me after buying the given vehicles that are not mine, any solution? or some version es_estendida that handle weight that can work well with this garage system? Thank you

What errors do you have ?show me Korean information about database and so on

Hi, so I was wondering if I could make police impound where if your car is impounded by police you have to find a police officer and he can see all impounded cars by the police and give you your car ? :slightly_smiling_face:

the script already include that function

Continuing the discussion from [RE-RELEASE] esx_eden garage2: 3 in 1 garage:

Hi everybody! How can i make a garage for a jobs? For example for government. Help me! Thanks. Have a nice day. by: Atom

I dont know why but i have the store on server start function on true but the cars dont store on the garage on server start.

It is but I tried putting the code in esx_policejob/main.lua multiple times(not 100% sure it was on the right place because my job is different) and its not working. So if its possible to get some more info…

it is realy easy!

  1. go to config of the garage loog for societygarages and add garages like examples of taxi police…
    dont forget to add z +1 !!!
  2. in your job just add this line when you take your duty (client sided):
TriggerEvent("esx_eden_garage:EnableSocietyGarage", "police", true)
  1. in your job just add this line when you take your citizen wear (client sided):
TriggerEvent("esx_eden_garage:EnableSocietyGarage", "police", false)

thats all! when you will be on duty the society garages will appear
NOTE that you can change police to your job name (same as garage config too)

that is weird … it should work :slight_smile:

just enable the area.

something like this (depending on what you have written as name in config)

exports.ft_libs:EnableArea("esx_eden_garage_area_police_mecanodeletepoint")

i got this on my console

[ERROR] [MySQL] [esx_eden_garage] An error happens on MySQL for query “SELECT vehicle, vehiclename, pound, stored, garage_name FROM owned_vehicles WHERE owner = ‘3512ad1ec91ae68391b27800f7036e8d974382c6’ and type=‘car’”: ER_BAD_FIELD_ERROR: Unknown column ‘vehiclename’ in ‘field list’

whats Wrong?

I have found the error, but dont know why it happens, the vehicles dont store at restart if im using a newer version of mysql-async, but if i use the 2.0 version it works, do u know why?

Sorry to bother you againg but did everything and it came until I changed the cordinates and now the impound doesnt show again. :confused:

Here is my police/main.lua and eden_garage/config. I will be so thankful if you help me! :smiley:

esx_policejob/client/main.lua:
https://pastebin.com/Gsindc1M

esx_jb_eden_garage2/config:
https://pastebin.com/SKjq8d2W