Skip to content

StuxxyOfficial/renzu_garage

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

renzu_garage

  • FIVEM - Garage HUD Advanced Vehicle Garage

image

Feature

  • Vehicle Public Garage (Multi Location)
  • Private Garage (player owned, player can purchase)
  • Garage Inventory (Install and store Vehicle Mods inside private garage)
  • Realistic Parking mod ( park anywhere )
  • Housing Garages (preconfigured and optional)
  • Job Garages (police garage for example) (support default vehicles for patrol)
  • Helicopter Garage per job
  • IMPOUND GARAGE (with owners infos) (Player Impounds or Job Owned Impound)
  • Restore damage based on vehicle health
  • Parking Meter Park mode

video

https://www.youtube.com/watch?v=rKYb0sRnP2A

Sample Image:

  • Vehicle Category image
  • Quick Pick image

Inside garage

image

Private Garage

image

  • Garage Inventory

image image

Housing Garage

image

scaleform from negbook is being used

IMPOUND

image image

  • SAMPLE CONFIG
    {
        garage = "A", --LEGION
        Dist = 10, -- distance
        Blip = {color = 38, sprite = 289, scale = 0.6},
        garage_x = 241.1,
        garage_y = -757.1,
        garage_z = 34.639263153076, -- coordinates for this garage
        spawn_x = 245.59975585938,
        spawn_y = -743.73449707031,
        spawn_z = 33.954160003662,
        heading = 154.98515319824 -- Vehicle spawn location
    }

impoundcoord = {
    {
        garage = "impound", --mrpd
        job = "police",
        Dist = 10,
        Blip = {color = 2, sprite = 289, scale = 0.6},
        garage_x = 459.18936157227,
        garage_y = -1008.4532470703,
        garage_z = 28.264139175415,
        spawn_x = 443.25286865234,
        spawn_y = -1013.6952514648,
        spawn_z = 27.927909851074,
        heading = 89.990180969238
    }
}

heli = {
    -- chopper models for each jobs
    ["police"] = {
        -- job
        {plate = "PDHELI", model = "maverick"},
        {plate = "PDHELI", model = "frogger"},
        {plate = "PDHELI", model = "havoc"},
        {plate = "PDHELI", model = "polmav"},
        {plate = "PDHELI", model = "valkyrie"},
        {plate = "PDHELI", model = "akula"},
        {plate = "PDHELI", model = "buzzard"},
        {plate = "PDHELI", model = "cargobob2"}
    }
}

helispawn = {
    -- coordinates for jobs helicopters
    ["police"] = {
        [1] = {
            garage = "Police Chopper A",
            Blip = {color = 38, sprite = 43, scale = 0.6},
            coords = vector3(449.27, -981.05, 43.69),
            distance = 15
        }
    }
}

--JOB GARAGE
    {
        garage = "Police Garage", --PALETO
        job = "police",
        Type = "car",
        Dist = 10,
        Blip = {color = 38, sprite = 289, scale = 0.6},
        garage_x = 427.20556640625,
        garage_y = -1011.4292602539,
        garage_z = 28.954322814941,
        spawn_x = 432.20071411133,
        spawn_y = -1015.4301757813,
        spawn_z = 28.840564727783,
        heading = 85.93824005127
    },

Events

  • Open Garage
   open the garage/impound/jobgarage/helicopter garage from targets or controlpressed etc...
   TriggerEvent('opengarage')
  • Open Garage From Property (any coords - the vehicle spawn coords is Random using vehicleroadnode native)
    TriggerEvent('renzu_garage:property',"ANY PROPERTY NAME", vector3(coords)) -- coords = property location or current ped coords
    
  • Impound
usage: /impound
any nearest vehicle will be impound (distance 2-3 radius)
  • Transfer Vehicle to Another player
    /transfer [USERID]
    eg. /transfer 5
    userid = 5
Giveaccess to player owned garage
- /giveaccess PLAYERID

TODO

  • Fix some bug
  • change fonts
  • ui cleanup
  • add new things
  • code clean up as this is my old written garage
  • Add Exports from functions
  • Add Fake Plate System

Dependency for now

About

FIVEM - Garage HUD

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Lua 67.6%
  • CSS 20.9%
  • JavaScript 9.4%
  • HTML 2.1%