Advertisement
Guest User

3D Car dealer 2 config

a guest
Oct 21st, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. D3DCarConfig = D3DCarConfig or {}
  2.  
  3. //================ ADVANCED ================//
  4.  
  5. D3DCarConfig.DarkRPIs2_5_0 = true
  6. -- if u using DarkRP 2.5.0 ( or higher ) set this to ' true '
  7. -- if not, Set this to 'false'
  8.  
  9.  
  10. function D3DCarConfig:IsAdmin(ply)
  11. local ULXGroups = {"superadmin","owner","admin"} -- LOWERCASE.
  12.  
  13. for k,v in pairs(ULXGroups) do
  14. if ply:IsUserGroup(v) then
  15. return true
  16. end
  17. end
  18. end
  19. -- Define Admin. admin can save car dealer position and can pickup other player's cars with their physicsgun
  20.  
  21. D3DCarConfig.FixTopViewMode = 2
  22. -- If anything does not happending even if you clicked left mouse on TOP-VIEW Mode, set this to 1.
  23.  
  24. //================ TEST DRIVE ====================//
  25. D3DCarConfig.TestDrive_LimitTime = 180
  26. -- Test drive car only last for 180 seconds. after that, it will be removed
  27.  
  28. D3DCarConfig.TestDrive_CoolDown = 300
  29. -- People need to wait 300 seconds to try another test car.
  30.  
  31.  
  32.  
  33. //================ SHOP SCREEN ================//
  34. D3DCarConfig.AutoCam = true
  35. -- Moves Cam to specific position for Shop and Inventory Mode.
  36.  
  37. D3DCarConfig.GTA5GarageMaxSize = 16
  38. -- Set Max cars in your garage. if you have tons of cars then your frame will be go down.
  39. -- You may set power of 2.
  40.  
  41. //================ CAR DEALERS ================//
  42.  
  43. D3DCarConfig.CarSpawnRange = 1000
  44. -- Spawn Range. this is vision limit on Top-View based spawner mode. the more value, the more you can go.
  45.  
  46. D3DCarConfig.EnterTheCarAfterSpawn = true
  47. -- Ride your car instantly.
  48.  
  49. D3DCarConfig.LockCarAfterSpawn = true
  50. -- Prevent your cars be stealed.
  51. -- This will not work if the EnterTheCarAfterSpawn is set to true.
  52.  
  53. D3DCarConfig.PlayerCanPickupVehicles = false -- ' true ' or ' false '
  54. -- So. if you set this to ' false ' , player can't pickup cars with physics gun.
  55.  
  56. D3DCarConfig.PlayerMaxCarAmount = 1
  57. -- 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.
  58.  
  59. D3DCarConfig.Check_Remove_JobOnlyCars = true
  60. -- if this set to true, this prevent player getting police cars even if they are not police.
  61. -- if they change job to something from police, police car will be removed.
  62.  
  63. D3DCarConfig.AllowMaxRespawn = false
  64. -- If this set to true, when player hit max vehicle limit, the old car will be removed and new car will be spawned.
  65. -- If this set to false, they must return their old car to spawn new car.
  66.  
  67. D3DCarConfig.AllowToolGun = false
  68. -- If this set to false, player will not be able to use any tool with their car.
  69. -- In any case, Admin can use toolgun.
  70.  
  71. D3DCarConfig.BAY_CarDetectRange = 150
  72. -- Range that bay detects nearby Cars.
  73. -- It is not recommened to increase this value much.
  74.  
  75. D3DCarConfig.PeopleCanOpenMenuOnBay = true
  76. -- Bay works like car dealer. they can press E on bay and buy cars.
  77.  
  78. D3DCarConfig.BAY_LimitedTIME = 30
  79. -- Prevent abusers. if their car is stuck at bay longer than 30 seconds, it removes car ( and save ) from the bay.
  80.  
  81.  
  82. //================ CAR EXTENSION ================//
  83.  
  84. D3DCarConfig.TuneRenderDist = 2000
  85. -- 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