Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- D3DCarConfig = D3DCarConfig or {}
- //================ ADVANCED ================//
- D3DCarConfig.DarkRPIs2_5_0 = true
- -- if u using DarkRP 2.5.0 ( or higher ) set this to ' true '
- -- if not, Set this to 'false'
- function D3DCarConfig:IsAdmin(ply)
- local ULXGroups = {"superadmin","owner","admin"} -- LOWERCASE.
- for k,v in pairs(ULXGroups) do
- if ply:IsUserGroup(v) then
- return true
- end
- end
- end
- -- Define Admin. admin can save car dealer position and can pickup other player's cars with their physicsgun
- D3DCarConfig.FixTopViewMode = 2
- -- If anything does not happending even if you clicked left mouse on TOP-VIEW Mode, set this to 1.
- //================ TEST DRIVE ====================//
- D3DCarConfig.TestDrive_LimitTime = 180
- -- Test drive car only last for 180 seconds. after that, it will be removed
- D3DCarConfig.TestDrive_CoolDown = 300
- -- People need to wait 300 seconds to try another test car.
- //================ SHOP SCREEN ================//
- D3DCarConfig.AutoCam = true
- -- Moves Cam to specific position for Shop and Inventory Mode.
- D3DCarConfig.GTA5GarageMaxSize = 16
- -- Set Max cars in your garage. if you have tons of cars then your frame will be go down.
- -- You may set power of 2.
- //================ CAR DEALERS ================//
- D3DCarConfig.CarSpawnRange = 1000
- -- Spawn Range. this is vision limit on Top-View based spawner mode. the more value, the more you can go.
- D3DCarConfig.EnterTheCarAfterSpawn = true
- -- Ride your car instantly.
- D3DCarConfig.LockCarAfterSpawn = true
- -- Prevent your cars be stealed.
- -- This will not work if the EnterTheCarAfterSpawn is set to true.
- D3DCarConfig.PlayerCanPickupVehicles = false -- ' true ' or ' false '
- -- So. if you set this to ' false ' , player can't pickup cars with physics gun.
- D3DCarConfig.PlayerMaxCarAmount = 1
- -- People can spawn Only 1 car in your server. if they spawn more cars, other car will be removed(saved) and new car will be spawned.
- D3DCarConfig.Check_Remove_JobOnlyCars = true
- -- if this set to true, this prevent player getting police cars even if they are not police.
- -- if they change job to something from police, police car will be removed.
- D3DCarConfig.AllowMaxRespawn = false
- -- If this set to true, when player hit max vehicle limit, the old car will be removed and new car will be spawned.
- -- If this set to false, they must return their old car to spawn new car.
- D3DCarConfig.AllowToolGun = false
- -- If this set to false, player will not be able to use any tool with their car.
- -- In any case, Admin can use toolgun.
- D3DCarConfig.BAY_CarDetectRange = 150
- -- Range that bay detects nearby Cars.
- -- It is not recommened to increase this value much.
- D3DCarConfig.PeopleCanOpenMenuOnBay = true
- -- Bay works like car dealer. they can press E on bay and buy cars.
- D3DCarConfig.BAY_LimitedTIME = 30
- -- Prevent abusers. if their car is stuck at bay longer than 30 seconds, it removes car ( and save ) from the bay.
- //================ CAR EXTENSION ================//
- D3DCarConfig.TuneRenderDist = 2000
- -- Save your FPS! Some tune elements like LED Strip, Rear light will not be rendered if car is far from you.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement