Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
feat(all): New Impound System
same /impound officer needs to Fill up the Required details when impounding a vehicle. Location: Duration Fees: New Configurable ImpoundedLostVehicle outside vehicle is now cannot be retrieved in garage menus, Outside/Lost Vehicles can be retrieved from Impound MRPD as default. (table 1 identifier) Impound System now support multiple impound garage. if officer send it to Vespucci , Player can only retrieve it there after the Impound Duration. Impound Fees default are 10000 Player can see the remaining impound duration time. players can see what impound garage. created a conf folder. to easily manage all config one by one. impound garage now shows the following: Officer in charge: Fee: Reason: etc.. Make sure to import the new impound_garage table.
- Loading branch information
Showing
13 changed files
with
1,203 additions
and
781 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| 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"} | ||
| }, | ||
| ["ambulance"] = { | ||
| -- job | ||
| {plate = "AMBHELI", model = "maverick"}, | ||
| {plate = "AMBHELI", model = "frogger"}, | ||
| {plate = "AMBHELI", model = "havoc"}, | ||
| {plate = "AMBHELI", model = "polmav"}, | ||
| {plate = "AMBHELI", model = "valkyrie"}, | ||
| {plate = "AMBHELI", model = "akula"}, | ||
| {plate = "AMBHELI", model = "buzzard"}, | ||
| {plate = "AMBHELI", 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 | ||
| } | ||
| } | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| -- IMPOUND | ||
| ImpoundedLostVehicle = true -- If vehicle is not in garage, player can retrieve it at impound | ||
| Impoundforall = true -- if true all players can access the impound to return their owned vehicles else only allowed jobs at impound config | ||
| ImpoundPayment = 10000 -- required cash to get impounded vehicles if Impoundforall is enable | ||
| DefaultDuration = 1 -- 1 hour if duration is not specified | ||
| JobImpounder = { | ||
| ['police'] = true, | ||
| ['mechanic'] = true | ||
| } | ||
| impoundcoord = { | ||
| { | ||
| garage = "impound_mrpd", --mrpd | ||
| name = 'MRPD Impound Garage', | ||
| job = "police", | ||
| Type = "car", | ||
| Dist = 5, | ||
| Blip = {color = 2, sprite = 289, scale = 0.6}, | ||
| garage_x = 459.18936157227, -- 454.23364257813,-1019.8027954102,27.892890930176,95.160804748535 | ||
| garage_y = -1008.4532470703, | ||
| garage_z = 28.264139175415, | ||
| spawn_x = 454.23364257813, | ||
| spawn_y = -1019.8027954102, | ||
| spawn_z = 27.892890930176, | ||
| heading = 95.160804748535 | ||
| }, | ||
| { | ||
| garage = "impound_davis", --davis | ||
| name = 'Davis Impound Garage', | ||
| job = "police", | ||
| Type = "car", | ||
| Dist = 5, | ||
| Blip = {color = 2, sprite = 289, scale = 0.6}, | ||
| garage_x = 408.14019775391, -- 408.14019775391,-1624.2512207031,29.291955947876,336.10189819336 | ||
| garage_y = -1624.251220703, | ||
| garage_z = 29.291955947876, | ||
| spawn_x = 402.6653442382, -- 402.66534423828,-1631.8555908203,28.485252380371,232.8318939209 | ||
| spawn_y = -1631.8555908203, | ||
| spawn_z = 28.485252380371, | ||
| heading = 232.8318939209 | ||
| }, | ||
| { | ||
| garage = "impound_vespucci", --vecpucci | ||
| name = 'Vespucci Impound Garage', | ||
| job = "police", | ||
| Type = "car", | ||
| Dist = 5, | ||
| Blip = {color = 2, sprite = 289, scale = 0.6}, | ||
| garage_x = -1056.6076660156, -- -1056.6076660156,-842.85260009766,5.0415687561035,33.330707550049 | ||
| garage_y = -842.85260009766, | ||
| garage_z = 5.0415687561035, | ||
| spawn_x = -1068.055541992, -- -1068.0555419922,-852.90270996094,4.0571403503418,211.5486907959 | ||
| spawn_y = -852.90270996094, | ||
| spawn_z = 4.0571403503418, | ||
| heading = 211.5486907959 | ||
| }, | ||
| } | ||
| impound_duration = { -- in hours | ||
| [1] = 1, | ||
| [2] = 3, | ||
| [3] = 5, | ||
| [4] = 8, | ||
| [5] = 16, | ||
| [6] = 24, | ||
| [7] = 48, | ||
| } | ||
| -- IMPOUND |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| Config = {} | ||
| Config.Locale = "en" | ||
| --GENERAL SETTING | ||
| Config.Mysql = 'mysql-async' -- "ghmattisql", "mysql-async", "oxmysql" | ||
| Config.use_RenzuCustoms = false -- Use renzu_customs getter and setter for Vehicle Properties | ||
| Config.ReturnDamage = true -- return visual damage when restoring vehicle from garage | ||
| Config.ReturnPayment = 1000 -- a value to pay if vehicle is not in garage | ||
| Config.UseRayZone = false -- unrelease script https://github.com/renzuzu/renzu_rayzone | ||
| Config.floatingtext = true -- use native floating text and marker to interact with garages (popui and floatingtext must be opposite settings) (popui must be false if this is true) | ||
| Config.UsePopUI = false -- 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 https://github.com/renzuzu/renzu_popui | ||
| Config.Quickpick = true -- if false system will create a garage shell and spawn every vehicle you preview | ||
| Config.UniqueCarperGarage = false -- if false, show all vehicles to all garage location! else if true, Vehicles Saved in Garage A cannot be take out from Garage B for example. | ||
| --GENERAL SETTING | ||
|
|
||
|
|
||
| Config.EnableImpound = true -- enable/disable impound | ||
| Config.EnableHeliGarage = true -- enable/disable Helis | ||
| Config.PlateSpace = true -- enable / disable plate spaces (compatibility with esx 1.1?) | ||
| Config.Realistic_Parking = true | ||
| Config.ParkButton = 38 -- E | ||
| Config.EnableReturnVehicle = true -- enable / disable return vehicle feature | ||
| Config.DefaultPlate = 'ROLEPLAY' -- default plate being used to default_vehicles args | ||
|
|
||
| -- MARKER | ||
| Config.UseMarker = true -- Drawmarker | ||
| Config.MarkerDistance = 20 -- distance to draw the marker | ||
| --MARKER | ||
|
|
||
| -- PROPERTY / HOUSING GARAGE | ||
| Config.EnablePropertyCoordGarageCoord = false -- Enable / Disable Property Coordinates, Disable this if you already using a property and you want to trigger this manually example. from your housing script | ||
| -- TriggerEvent('renzu_garage:property',"Forum Drive 11/Apt13", vector3(-1053.82, -933.09, 3.36)) -- example manual trigger | ||
| Config.PropertyQuickPick = true -- quickpick | ||
| Config.UniqueProperty = true -- if enable , only stored vehicles in this Property ID will be show | ||
|
|
||
| -- PARKING METER (WIP) | ||
| Config.ParkingMeter = true -- use configure parking props and park near by them | ||
| Config.ParkingAnywhere = true -- if this is true ParkingMeter Prop Feature will be replaced | ||
| -- ParkingAnywhere is like a realistic parking but by using /park command or /parkingmater | ||
| -- you can park anywhere using /park | ||
| Config.MeterProp = { | ||
| [1] = 'prop_parknmeter_01', | ||
| [2] = 'prop_parknmeter_02', | ||
| } | ||
| Config.MeterPayment = 5000 |
Oops, something went wrong.