Giter Site home page Giter Site logo

renzu_garage's Introduction

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

renzu_garage's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.