[ESX/QBCore] MS-Garages [V2]

Features

  • You can Create Garages From Config File

  • Garages Can Be For Jobs or Public

  • Impound System and You Need To Pay To Get Your Car Out Of Impound

  • For [ESX] You Can Set Job Cars To A Rank

  • You can Create Garages From Config File

  • You can Create Impounds From Config File

Fixed Issues From [V1]

  • [FIXED] Vehicle Sometimes Spawn Without Plate

  • [FIXED] Vehicle Color Changing Everytime You Spawn It

  • [FIXED] Vehicle Spawn Without Upgrades

  • [FIXED] Garage Broke If You Closed and Opened It Fast

  • [FIXED] Player Not Teleporting Into Vehicle When Spawned

Buy From Tebex

Video

Other Scripts

2 Likes

Any dependencies?

no you dont need anything

1 Like

Are only job vehicles displayed in the job garages that also belong to you or vehicles that are set by config and are only borrowed?

And maybe you could attach a picture to the config so that you can see what you can set in this?

vehicles in the job garages only the vehicles you set in the config but your personal vehicle you can get it from public garage
and about the picture i forgot to add one but you can see it in the v1 until i add new one

1 Like

Update

  • [FIXED] Vehicle Duplicate When You Get Your Vehicle Out Garage Says (Out Of Garage)
  • [Next Update] Button To Locate Your Outside Vehicles
  • [ADDED] You Can Create More Than 1 Impound

[The New Link Updated To The Latest Verison]

Here is how my police garage looks. However, I edited my script to also put in a separate return marker since the current return point is shared the garage menu marker.

Leo Config
    Pos   = { x = 469.07, y = -974.66, z = 25.29 },
    Blip  = false,
    Name  = "Keybox ",
    Storepoint = { x = 450.23, y = -976.34, z = 25.36},
    Storename = "The Police Garage",
    Job  = "police",
    Public = false,
    Vehicles = {
         -- Recruit
        {model = "libertycvpi",     rank = "recruit", name = "Ford CVPI"},
        {model = "liberty14charg",  rank = "recruit", name = "2014 Charger"},

         -- Officer
        {model = "libertycvpi",     rank = "officer", name = "Ford CVPI"},
        {model = "liberty14charg",  rank = "officer", name = "2014 Charger"},
        {model = "liberty16fpiu",   rank = "officer", name = "2016 Ford FPIU"},
        {model = "libertyfpis",     rank = "officer", name = "2016 Ford FPIS"},
        {model = "narpharley",      rank = "officer", name = "2015 Harley"},

        -- Corporal
        {model = "libertycvpi",     rank = "corporal", name = "Ford CVPI"},
        {model = "liberty18charg",  rank = "corporal", name = "2018 Charger"},
        {model = "liberty16fpiu",   rank = "corporal", name = "2016 Ford FPIU"},
        {model = "libertyfpis",     rank = "corporal", name = "2016 Ford FPIS"},
        {model = "narpharley",      rank = "corporal", name = "2015 Harley"},

        -- Sergeant
        {model = "libertycvpi",     rank = "sergeant", name = "Ford CVPI"},
        {model = "liberty18charg",  rank = "sergeant", name = "2018 Charger"},
        {model = "liberty16fpiu",   rank = "sergeant", name = "2016 Ford FPIU"},
        {model = "libertyfpis",     rank = "sergeant", name = "2016 Ford FPIS"},
        {model = "liberty18tahoe",  rank = "sergeant", name = "2018 Chevy PPV"},
        {model = "narpharley",      rank = "sergeant", name = "2015 Harley"},

        -- Lieutenant
        {model = "libertycvpi",         rank = "lieutenant", name = "Ford CVPI"},
        {model = "liberty18charg",      rank = "lieutenant", name = "2018 Charger"},
        {model = "liberty16fpiu",       rank = "lieutenant", name = "2016 Ford FPIU"},
        {model = "libertyfpis",         rank = "lieutenant", name = "2016 Ford FPIS"},
        {model = "liberty18tahoe",      rank = "lieutenant", name = "2018 Chevy PPV"},
        {model = "narpharley",          rank = "lieutenant", name = "2015 Harley"},

        -- Deputy Chief
        {model = "libertycvpi",         rank = "depchief", name = "Ford CVPI"},
        {model = "liberty18charg",      rank = "depchief", name = "2018 Charger"},
        {model = "liberty16fpiu",       rank = "depchief", name = "2016 Ford FPIU"},
        {model = "libertyfpis",         rank = "depchief", name = "2016 Ford FPIS"},
        {model = "liberty18tahoe",      rank = "depchief", name = "2018 Chevy PPV"},
        {model = "narpharley",          rank = "depchief", name = "2015 Harley"},

        -- Chief
        {model = "libertycvpi",         rank = "boss", name = "Ford CVPI"},
        {model = "liberty18charg",      rank = "boss", name = "2018 Charger"},
        {model = "liberty16fpiu",       rank = "boss", name = "2016 Ford FPIU"},
        {model = "libertyfpis",         rank = "boss", name = "2016 Ford FPIS"},
        {model = "liberty18tahoe",      rank = "boss", name = "2018 Chevy PPV"},
        {model = "libertyf250",         rank = "boss", name = "2018 Ford F250"},
        {model = "narpharley",          rank = "boss", name = "2015 Harley"}
    },
    Spawnpoint = { x = 458.53, y = -993.29, z = 25.36, h = 351.0},
    Image = "https://i.imgur.com/YhKsbDC.png",
    Color = { r = 87, b = 151, g = 255, a = 255},
    MarkerType = 25
},
1 Like

My garage will not update to out of garage and I can pull out and store infinite amounts of the same vehicle

send me your problem in dm

1 Like

How can i scroll when i have to much cars?

Much user cant use the other cars

oh i didnot try it with too much cars the fix will be in the next update thank you for letting me know

Hopefully fast :confused:

My Users are very angry about that.

dont worry i will try to do it asap

1 Like

1: if the vehicle exist in world i can get it from impound ?
2: i can duplicate vehicles from impound ?

thank you in advance

vehicle only appear in impound if it state is impounded and when you get the vehicle from update the impound update and you cant see it on the impounded list and dont worry about the bugs tomorrow update will fix all the bugs

Update

  • [ADDED] Scrollbar For Getting Alot Of Vehicles In Garage
1 Like

How get i the right link?

Have the old mediafire…

1 Like

the file is updated in the same mediafire link just download it again

1 Like

Hey - if a player parks a vehicle and someone steals it - he can always park it again and the other despawns it - if it was set in the impount (own script) you can also park it…

ok i will fix it in the next update

1 Like