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
Sample Image
Quick List vehicle
Hidden link for visitors, to see
Log in or register now.
Hidden link for visitors, to see
Log in or register now.
IMPOUND
Hidden link for visitors, to see
Log in or register now.
Inside Garage
Hidden link for visitors, to see
Log in or register now.
- Inside garage function
- PRESS E to choose nearest vehicle
- Arrow right/left to navigate vehicles pages (WIP)
VIDEO DEMO
Hidden link for visitors, to see Log in or register now.
Usage sample
- Config.UseRayZone = false – unrelease script
Hidden link for visitors, to see Log in or register now.
- 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
Hidden link for visitors, to see Log in or register now.
- Config.Quickpick = true – if false system will create a garage shell and spawn every vehicle you preview
SAMPLE CONFIG
Code:
{
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
TriggerEvent('opengarage')
-
Code:
open the garage/impound/jobgarage/helicopter garage from targets or controlpressed etc... [CODE]TriggerEvent('renzu_garage:property',"ANY PROPERTY NAME", vector3(coords)) -- coords = property location or current ped coords
- Impound
any nearest vehicle will be impound (distance 2-3 radius)
- Transfer Vehicle to Another player
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
Hidden link for visitors, to see Log in or register now.
FIVEM - Garage HUD. Contribute to renzuzu/renzu_garage development by creating an account on GitHub.
- 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