Garry's Mod Leaks

[Leak] 3D Car DEALER 2 / 4.0 Update

Submitted by s220379345, , Thread ID: 106251

Thread Closed
13-11-2018, 05:21 PM
#1
Content locked
This content has been locked. Please login or register in order to unlock it.

https://www.gmodstore.com/market/view/46

3D Car Dealer 2 : 4.0 UPDATE

The King of Car dealer
3D Car dealer 2 is more enhanced and optimized car dealer. which 80% of codes are recoded from stratch.
Quick Video
Special Features
  • Fully Vitually generated 3D Workspace area.
[Image: Snsdots.jpg]
  • Supports txt data saving method and MySQL ( mysqloo module / You need mysqloo module installed. )

  • Test Drive : Allows player to spawn cars for free to test the cars. car will be removed after few minutes later.

  • Bay : Place bay on the map. so player can spawn cars on the bay.

  • [Image: UGiLn1T.jpg]

  • Advanced Tuner : Photoshop-inspired Tuner allow you to tune your cars easily. you can put Underneon , LED scripts,Rear Lights , Head Lights , Horn , Speedometer , Exhaust
[Image: kTqe3P4.jpg]
  • GTA5 Inpired Garage : Allows you to see whole cars you own. its just amazing.
[Image: AWgs7Wg.jpg]
  • New way to place cars : Changes your vision to top-view mode. and allow you to choose car bays where you want to spawn cars.
[Image: s6Xvhm7.jpg]
  • And lots more.
Preset : Adding cars.
  • You may goto lua/autorun/3DCarDealer_AddCars.lua to add/remove cars.

  • there are some pre-made presets. there is detail
local TB2Insert = {}
TB2Insert.VehicleName = "VEHICLE NAME"
TB2Insert.CarName = "CAR PRINT NAME"
TB2Insert.CarPrice = 100
TB2Insert.CarRefund = 100
TB2Insert.IsSCar = true
TB2Insert.Description = "DESCRIPTIONS"
TB2Insert.AvaliableTeam = {TEAM_POLICE,TEAM_MOB}
TB2Insert.AvaliableGroup = {"superadmin","admin"}
VehicleName :: Its unique name of cars
-- HOW TO GET NAMES? --
Case 1 : SCars
>> goto SCARADDON/lua/entities/ <random cars folder > / shared.lua
you may see like this ' ENT.PrintName = "Junker1" ' if its right car foder.
"Junker1" is Vehicle name.

Case 2 : TDM Cars
>> goto TDMADDON/lua/autorun/ < random cars lua file >
you may see like this ' list.Set("Vehicles", "350ztdm", V) '
"350ztdm" is Vehicle name.

CarName :: Print name of cars. can be seen car shop
CarPrice , CarRefund :: you may know these.
IsSCar :: < VERY IMPORTANT > if its SCar, set to ' true ' if not, remove it or set to ' false '
Description :: Descriptions
AvaliableTeam :: You can limit cars specific job only.
AvaliableGroup :: You can limit cars specific ULX Group user.

Preset : Limiting Tune parts for specific ulx / cars only.
  • ULX Limitation for each tune parts.

  • To use this, goto lua/tunerextensions/ PARTSYOU_WANT.lua

  • Now you should add, these. if you don't know where to add, just add them below STR.Max

  • This is ULX Limitation.
STR:SetULXLimitationMessage("This part is limited for only admin and VIP users.")
STR:AddULXLimitation("vvip")
STR:AddULXLimitation("vip")
STR:AddULXLimitation("admin")
STR:AddULXLimitation("owner")
SetULXLimitationMessage : you can manually set error messages.
AddULXLimitation : you can add ulx groups. as many as you want.
  • This is Vehicle Limitation.
STR:SetVehicleLimitationMessage("Public vehicles are not allowed to attach neon light!")
STR:AddVehicleLimitation("bus") -- you put VehicleName here. which is TB2Insert.VehicleName at Addcars.lua
STR:AddVehicleLimitation("taxi") -- you put VehicleName here. which is TB2Insert.VehicleName at Addcars.lua
SetVehicleLimitationMessage : you can manually set error messages.
AddVehicleLimitation : you can add ulx groups. as many as you want.
Unlike ULX Limitation, this limits only vehicles added.

Every Console commands you can use.
  • D3DCardealer_save : saves every NPCs and Bays place on the map.

  • RXCarGenerateTDMCodes and RXCarGenerateSCarCodes : Tired to add cars one by one? just type this on your gmod console. then you will get codes for all vehicles installed on your server. how easy.

  • cardealer_convert1to2 : This is special command for CD1 user. see below

  • cardealer_convertdatatxt2mysql : This is special command. see below also
About 3D Car dealer 1
3D Car dealer 1 is not supported anymore. im giving free access to 3D Car dealer 2 if you bought CD1.
Send me support ticket for this.
Moving CD1 Data Into CD2.
  • you can bring your inventory data into CD2. but Tuning parts can't not be used in CD2. you have to tune your cars again.

  • Install Car dealer 2. and type this on your gmod console ( command : cardealer_convert1to2 )

  • And goto your server console and see it working. And please don't do anything when it working.

  • Plus, Addcars format is completely same. so just use your old addcars code!
[Image: q1qWYb5.png]
Transferring Inventory data from txt to MySQL
  • If you want to use mysql and used txt data saving method before, you will need to move the data to mysql. ( If you're new to CD2, you don't need to do that )

  • You will need to install mysql and mysql module.

  • 1. Swapping Data Provider :: Goto 3dcardealer/Data Providers/dataprovider.txt and copy the codes all. And now paste them into 3dcardealer/lua/autorun/server/RXCarDataProvider.lua

  • 2. Configure :: You will need to configure some information inside the data provider. like account name and password, etc.

  • 3. Setup your mysql databases :: You need to create database and tables. i made sql code to help you make table easy.

  • 4. Transfer :: Now Type this on your gmod console and goto your server console and see its converting. and don't do anything when it working on.

  • 4-1. **Command for mysqloo module ** :: ' cardealer_convertdatatxt2mysql mysqloo '

  • 4-2. **Command for tmysql4module ** :: ' cardealer_convertdatatxt2mysql tmysql4 '

  • [Image: v7eoxfS.png]
See how it works.
This hidden content has been reported as still working 0 times this month.
1 times in total

RE: [Leak] 3D Car DEALER 2 / 4.0 Update

#2
I will put Teperri on my server, so everything works perfectly there are no defects detected

Users browsing this thread: 2 Guest(s)