[RELEASE] renzu_garage

Renzu Garage v1.0

Today im releasing one of my old script, this has been used in my old server.
I hope you find this useful my Simple Garage.
Feature

  • Vehicle Garage Management
  • Multiple Garage Location
  • Job Garages (ESX)
  • Helicopter Garage per job
  • Property Garage (any coords)
  • IMPOUND GARAGE (with owners infos)
  • Restore damage based on vehicle health
  • New Feature:
Realistic Park (Auto Respawned upon server restart)

2021-07-24 19-36-02

Sample Image

Quick List vehicle


IMPOUND

Inside Garage

  • Inside garage function
  • PRESS E to choose nearest vehicle
  • Arrow right/left to navigate vehicles pages (WIP)

VIDEO DEMO

2021-07-17 17-12-24

Usage sample

  • Config.UseRayZone = false – unrelease script https://github.com/renzuzu/renzu_rayzone
  • Config.UsePopUI = true – Create a Thread for checking playercoords and Use POPUI to Trigger Event, set this to false if using rayzone. Popui is originaly built in to RayZone – DOWNLOAD GitHub - renzuzu/renzu_popui
  • Config.Quickpick = true – if false system will create a garage shell and spawn every vehicle you preview

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

#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
  • Garage Inventory (upgrades,tires,etc)
  • Support Other Vehicle Class Garage like Boat.
  • payment in return vehicle

Dependency

  • ESX (tested V1 final)
  • POPUI
  • What is this?
  • This is a replacement for Drawtext or controlpressed native in loop.
  • UI will POP once the player is on the target coords GitHub - renzuzu/renzu_popui

#Download

  • i will try to fixed any bugs when i have a time
  • PR is welcome
  • This is currently in development mode.
  • Supporting multiple Framework is a goal

#the script is using scaleform from negbook

Other Free resource

Vehicleshop [RELEASE] renzu_vehicleshop
HUD UI [RELEASE] renzu_hud - UI | Semi All in One

14 Likes

Looks good! Nice free release!

6 Likes

thank you, if you find bugs , please submit at github

bro for some reason not working for me i am using esx one

did you download this

this is dependency

it worked sorry for not reading dependency :sweat_smile:

1 Like

no worries, glad it worked for you

oh wait it only worked one time did i did something wrong again?

btw a lil report impound garage and police garage are not opening and i have police job also

make sure you start the garage after the esx.

also check the F8 console for any errors
Mine are working
this is tested on ESX v1 FINAL
make sure to use a job ‘police’

2 Likes

i am using 1.2 tho there is no error in f8 console or txadmin console and yes i am using job police

normal garages working perfectly but the police one are not :confused:

did you see a popui on police garage?

i just updated the distance

that must be the issue if distance is the problem.

try opening the garage from the nearest distance

great work, that’s dope

1 Like

btw got this error after changing to what you changed

1 Like

Ill fix this in the next commit, this does not affect anything…happens only when you restart the script

Looks insane and very good, thanks for the free release it’ll surely help me and a lot others :sweat_smile:

Hi i’m having an issue when i try to open a garage

How can you change the snail logo on the garage menu?

image

Edit: Found it on script.js line 145 if someone needs it, replace the GIF.

Your missing a id column in your database…

Adding it will fix it.
Ill update server.lua in next few hour to avoid this