[Features]
-
15 garages are set by default and each of them has more than 10 coordinates for car spawn
-
Special garages (player can only take the vehicle out of the parking lot where parked vehicle) (optional)
-
Changing the player world when open garage UI
-
When the server restart , all the cars are parked in their parking (optional)
-
Garage Blips
-
Ability to adjust the price of the restore vehicle in impound
-
Support vehicle fuel system (recommended use LegacyFuel)
-
Ability to adjust payment method the bank or cash
-
Responsive UI with any display
-
UPDATE 2022/5/6
-
Garage For Job
-
Added Garage For Boat , helicopter , aircraft
-
Checking add-on vehicle
-
Blip Garage For Jobs
-
Check vehicle job
-
Now Support ESX Legacy
-
Anti Duplicate Vehicle
-
Usage 0.00ms
-
Restore vehicle when server restarted
UPDATE 2022/7/30
β’ An NPC has been added to all garages so players can better find the Garage
β’ The parking icon line was fixed
β’ The problem of showing all server cars in the parking lot was fixed
β’ You donβt need to set coordinates for the camera anymore, the script can move the camera to the front of the car
β’ The problem of not parking the car was fixed in the new build
β’ Now you can make a garage for each job where only the cars of the job can park
β’ The blips problem was fixed
β’ Added animation for camera during transition
β’ All reported problems were fixed
[Preview]
[Config]
config.lua
Config.deletevehiclewhenfundinworld = false --[[
when player spawn a vehicle server has check it
vehicle on all map if you true this value when found vehicle on map server deleted vehicle
if you want you can change this value to false just send a notification to player (This Vehicle is still in the city)
]]--
Config.SpecialGarage = false ---- The player can only get vehicle from the garage where parked the vehicle (false to disable this option)
Config.allvehiclegogarage = true --- when server has restarted all vehicle stored on garage
Config.EnableBlips = true -- for enable garage blips
Config.priceimpound = 200 -- impound price
Config.paymethod = 'cash' -- impound remove money methid (cash or bank)
Config.UseLegacyFuel = false -- if you are use Legacyfuel true this
Config.LegacyFuelExport = 'LegacyFuel' -- if you are use Legacyfuel just put resource name default (LegacyFuel)
Config.ataNotification = false --- if you used ata notify true this or false for dafualt notfiction (https://forum.cfx.re/t/atanotify-paid-standalone/4806801)
Config.defaultgarageCAR = 'Garage MeetingPoint' -- dafualt garage for CARS
Config.defaultgarageBOAT = 'Garage Boat 1' -- dafualt garage for Boat
Config.defaultgarageAIR = 'Airport Garage 1' -- dafualt garage for Aircraft
Config.DefualtWorldValue = 0 ----------- if you dont dont what is this Dont Thouch it (SetPlayerRoutingBucket)
Config.defaultjobnamevehicle = 'civ' --- defualt vehicle job (you need config on esx_vehicleshop when player buy a car set table on owned_vehicles in job )
---------------------- BLIP
Config.BlipGarageCar = {
Blip = 289,
Color = 63,
Scale = 0.6
}
Config.BlipGarageBoat = {
Blip = 266,
Color = 63,
Scale = 0.9
}
Config.BlipGarageAirCraft = {
Blip = 64,
Color = 63,
Scale = 0.9
}
------- Locals
Locals = {
['openGarage'] = '~INPUT_CONTEXT~ to Open \n~b~',
['putgarage'] = '~INPUT_CONTEXT~ to Store Vehicle in the \n~b~ ',
['cannot_store'] = 'You can not store this Vehicle!',
['blips_name_car'] = 'Car Garage',
['blips_name_boat'] = 'Boat Garage',
['blips_name_air'] = 'AirCraft Garage',
['vehicle_in_city'] = 'This Vehicle is still in the city',
['No_Money'] = 'No Enough Money',
['no_car'] = 'You do not have car in this garage',
['Vehicle_take_out'] = 'Vehicle was successfully take out the parking',
['spawn_loction_busy'] = 'There is no space to take out the car',
['Vehicle_Loading'] = 'Loading Vehicle...',
['puted_garage'] = 'Your Parked Vehicle ',
['Car_Not_Found_Model'] = 'Some of your vehicle will be removed from the server',
['force_put_not_type_vehicle'] = 'This car is not for this parking lot',
['driver_seat'] = 'Must be in Driver Seat to Store Vehicle!',
['This_car_for_job'] = 'This Car Not For You Job and you cant park this vehicle on here',
}
Config.Garages = {
["Garage MeetingPoint"] = { ------ Garage Name
fortype = 'car', ------- boat,aircraft
job = { -----
-- Example jobs
-- 'police',
-- 'ambulance',
--- or nothing
},
putvehicle = vector3(222.89686584473,-768.55389404297,29.819), ---- Coord for put vehicle to garage
openGarage = vector3(213.6617, -809.5063, 31.01489), ------- Coord for open garage
cam = vector3(225.8687, -806.9524, 32.43252), ----- camera postion
vehicle = {spawn = vector3(232.7941, -805.47, 29.94101),heading = 68.64 } ---- vehicle postion on NUI
},
AND MORE .....
}
----- Parking Postion for spawn vehicle
Config.ParkingSpots = {
["Garage MeetingPoint"] = {
{ coords = vector3(231.3424, -778.7856, 30.44159), heading = 246.25 },
{ coords = vector3(220.8888, -806.535, 30.41988), heading = 247.6 },
{ coords = vector3(230.5119, -810.1128, 30.18728), heading = 66.84 },
{ coords = vector3(222.6113, -801.5812, 30.40527), heading = 247.6 },
},
AND MORE...
}
[Purchase]
Tebex Escrow
Tebex Open Source
Code is accessible No, But the ui and some functions are open for your configuration Subscription-based No Lines (approximately) ~1500 Requirements [ESX 1 versions and Legacy] and mysql or oxmysql Support Yes
Check out my other scripts here:
Notification