I am developing my very own garage script from the bottom-up and wanted to share this with you. This is the absolute version 1.0.0 and I was wondering if anyone had any cool ideas for the garage.
Features now:
Withdraw
Deposit
Impound (cost $3.000 either cash or bank)
Saves mods/props on vehicle
Sorting feature in the vehicle menu
On logout the vehicles will go back to the garage unless they are impounded, they will stay there.
On server restart, the vehicles will also go back to the garage, unless they are impounded.
More then 1 spawn location when you get a car. So players wont spawn cars on top of each other.
Like esx_policejob and esx_ambulancejob set spawn locations.
A impound option for mechanic/police where they can impound a car but the owner of the car needs
permission from mechanic/police to get his/her car back.
have it save damage state so if car is stored damaged it comes out damages
if car is impounded by police using a certain option like (state impound), cops can set a custon retrieval price and how many days until car can be withdrawn or hours from state impound
Specific garages store cars so if i store my car in garage A that car will only be in garage A / garages at properties
That is actually a very good idea about the spawn mechanics, thanks. I would have a look at that.
The permission thing is also an excellent idea, just have to figure out how I am gonna make that work if the jobs arent occupied (if police or mechanics arent online), then they should just be able to buy it out like now, for example.
That was actually one of my own thoughts as well. I want to make it so you can’t deposit your car if it is damaged and then you will have to use a mechanic to fix it and then deposit it. That will defintely be made sooner or later!
This is not a release yet, I am at the finishing process right now, making sure it isn’t full of bugs and then if there are some extra ideas I need to add.
I am planning on expanding the admin menu at some point, where you can report modders in the admin menu with evidence and then some chosen administrators will confirm if it is a real modder (in case of children reporting modders if they arent modding, kinda revenge banning), then we will add the modders to a global ban database, so we can get rid of those.
And also because a lot of admin menus is just whack to be honest, need lack of options such as ban time, logs and etc.
Yeah, but I think I will do as @Dutchy30 suggested:
Few things that my be useful
1.More then 1 spawn location when you get a car. So players wont spawn cars on top of each other.
Like esx_policejob and esx_ambulancejob set spawn locations.
Make it so it spawns and deletes vehicles just like esx_policejob and esx_ambulancejob
I think I will make it detect in a radius if there is any cars that belongs to you and then pick the closest one and then store it. On spawn check areas before spawn to prevent people spawning into each other.