[Release] AS_SimpleGarage - Garage system

AS_SimpleGarage
NoPixel based garage for ESX

** Notifications and such are translated into Dutch **

Requirements

Features

  • Unique garages
  • Camera transitions
  • Saves vehicle damages, fuel, lockstatus, spawnstatus
  • Realistic unlock and locking
  • Comes with a event to check if the vehicle is registered ( trigger: “TriggerServerEvent(“AS_SimpleGarage:registerVehicle”, plate)” to set a vehicle as registered)
  • Mechanics and police (Check config to set jobs) can impound non-player and player vehicles
  • Owned vehicles require a price which the owner must pay to get their vehicle back.

https://streamable.com/br7b8j

https://streamable.com/cl9u7s

DOWNLOAD:

I WONT SUPPORT THIS RESOURCE SINCE I QUIT ESX

9 Likes

@Tevichu @SunnyDoodle - Feel free to provide proof to the moderators via flagging this post. Please refrain from making flagrent claims like this unless you intend to follow up with a flag with proof.

I did pull some code for the gui.lua

Will fix it today

We have verified this is not stolen.

Any remaining complaints must be handled by flagging the topic and providing actual proof. We won’t be tolerating any such accusations in public and will remove any replies accusing of stealing. Handle it the right way by flagging and providing proof.

1 Like

Seems good.

When you take a vehicle out of the garage and leave it in the city, if you go back to the same garage it still goes inside, it would be nice if you could add a function that automatically adds it to the impound or some other method to avoid duplicating or taking advantage of bugs…
I could do it on my own, yes, I know and I will. But I suppose it is something that sooner or later they will end up writing you I suppose

Any way to get this to esx v1final?

Yes there is, but i dont know how. Havent checked that. So i will not give any support in that

It doesn’t save my fuel and also the damage doesn’t get saved. How I can fix it?

Hello, the impound does not work for me, when I try to get my vehicle I get this error

I use es_extended 1.2 final … but I also use the steam id, could that be it? and how could i fix it? thanks

If they do not store the car, it does not go back to their garage on restart. Any way to fix this?

I’ve actually coded this in, noticed this doesn’t have anything to accommodate. Will bug test tomorrow and I’ll PR if you want or upload it and give credit to you as mine is compatible with v1 final :slight_smile:

I will credit you once i push the PR

PR has been done. Never done one tbh :man_shrugging:

can you help me with this, I am trying to make this v1.2 final and with your pr changes. I am not sure I did it right here are the files you edited:
config.lua (3.9 KB) main.lua (5.5 KB)

This look right?

Also one error I am getting when I pull a vehicle out of the garage is this:

We have an issue that is extremely difficult to replicate for me. Sometimes, the car blows up after being taken out. I have no idea why, there’s no obstruction in the way, no player spawning vehicles in “local”…

Did anyone else encounter this? Any fixed? I tried few things, but no luck

replace this in client/main.lua

function IsVehicleRegistered(plate)
ESX.TriggerServerCallback(‘AS_SimpleGarage:checkRegistered’, function(isregistered)
if isregistered == true then
exports[‘mythic_notify’]:SendAlert(‘inform’, _U(‘Vehicle_Registered’), 5000, { [‘background-color’] = Config.ColorHex, [‘color’] = ‘#ffffff’ })
elseif isregistered == false then
–exports[‘mythic_notify’]:SendAlert(‘inform’, _U(‘Vehicle_notRegistered’), 5000, { [‘background-color’] = Config.ColorHex, [‘color’] = ‘#ffffff’ })
end
end, plate)
end

using esx_advancedvehicleshop and cars are not registering. Any Help?