[ESX | QB-Core] The Garage System

Compatible OneSync (Legacy, Infinity), ESX 1.X (all release versions should work, if not open a ticket), QB-Core
Uses Asset Escrow (no obfuscation)

Available languages: English, French, German

Dependencies: menuv, pmc-instance, mysql-async (only for ESX), oxmysql (only for QB-Core)

No IP-Lock/Obfsucation !

My other scripts

SEPTEMBER SALE (-30% ON EVERYTHING)

ESX Bundle (Garage + Impound System): https://store.s1nscripts.com/package/5699341
QB-Core Bundle (Garage + Impound System): https://s1nscripts.tebex.io/package/5073273
QB/ESX - ESCROW - BUY IT HERE: https://store.s1nscripts.com/package/5988505
QB/ESX - SOURCE-AVAILABLE - BUY IT HERE: https://s1nscripts.tebex.io/package/4627974

Preview

What does the script bring ?

It is a system of garages. Players will be able to purchase garages to store their vehicles. They can also invite their friends inside. You can easily add other garages with a number of places totally up to you.

What are the features ?

  • Instance system which means that players can’t see each other, there vehicles in the same garage, speak/listen (needs pma-voice or a system that supports buckets) unless they are invited to it.

  • Buy garages (the player can see with a camera outside of the garage)

  • Sell your garage (with a percentage of the purchase cost)

  • Create your own garages where ever you want ! (Just need to put some coordinates)

  • Add/Remove/Replace vehicles to the garage

  • Blacklist or Whitelist vehicles (with their hash)

  • Multiple Shop NPCs

  • Enable or disable friendly fire in garage

  • Save and set vehicles properties

  • Invite friends to your garage

  • Logs with discord webhook

  • Compatible with all IPL (just add the coords to the config)

I want to customize the script as a Developer, what is available to me ?

  • You can modify the formatting money function

  • You can modify the notification function to adapt to your scripts

  • You can modify the remove vehicle function

  • You can modify the way to get/set vehicle data

  • You can customize what happens when a player disconnect

  • You can customize the verification of plate ownership

How is the configuration file presented? (QB Core version)

Check https://docs.s1nscripts.com/docs/garage/config

Any suggestions or questions ?

Please write them down below in the comments section.

11 Likes

I had the chance to use and test the garage system of @S1nScripts, never had a problem, the script is optimized, work with onesync infinity !

1 Like

what about if you were to add the ability for multiple people to buy the garage but they are sort of invisible to each other along with the cars

Already the case. There is an instance system.

2 Questions

1.) If multiple people are in there garage, can they here each other in the instances?

2.) Can you store stolen/other peoples cars in these garages, or only your own vehicles?

Hi,

If multiple people are in the same garage with differents instance they will not hear each other. If they are in the same garage, in the same instance they will hear each other.
By default you can only store your own vehicles but you can customize the function that check if he’s the owner. In any case, the player still need to own the vehicle in the table owned_vehicles.

1 Like

UPDATE 1.0.1

Added the possibility to enable or disable friendlyfire in a garage for a specific one.
Added the possibility to whitelist vehicles

Files modified by the update:

  • client/client.lua
  • config.lua

UPDATE

Added the QB-Core version, link on the topic.
Added the german language

1 Like

UPDATE 1.0.2

Added compatibility with my Impound System

Files modified by the update:

  • server/server.lua
  • server/api.lua
  • config.lua

UPDATE 1.0.3

  • Fix spawning location
  • Removing area detection on exit (not needed anymore)

Files modified by the update:

  • server/server.lua
  • server/api.lua
  • client/client.lua
  • config.lua

if someone want one like this script but free [Release][Free][ESX] esx_garaging

lock system ?

UPDATE 1.0.4 - Works only with the last QB-Core versions which includes oxmysql

  • Modifications for the last QB-Core version (ghmattimysql isn’t used anymore, oxmysql will replace it)

Files modified by the update:

  • server/server.lua
  • server/api.lua
  • client/client.lua

Hi,

Sorry about the delay. What do you mean ?

Can you use this system as a public garage too ? Or only private

Only private.

Are these custom garage interiors expandable, for instance a 10 car garage, or warehouse?.

Hi, sorry for the delay.
Yes you can set whatever interior you want as long as you have the coordinates to it. (the interior needs to be loaded first, my script will only create instances and teleport to its coordinates)

Hi,

ESX and QB Core Bundles, including the impound and the garage system just came out !
Go check this out on my webstore :slight_smile:

[QB-Core] Garage System

UPDATE 1.0.7

  • Fix Now adapted to last qb-vehiclekeys version (Update to its last version to use the new garage system version)

Files modified by the update:

  • client/client.lua