Garry's Mod Leaks

[LEAK] 3D Car Dealer 2

Submitted by rafaelcomepastel, , Thread ID: 73755

Thread Closed
06-02-2018, 03:50 AM
#1
[Image: 9e6449e201c081cce083c4c890f35721.png]
[Image: 0009abed43c27713a94c06e7449a945b.png&w=1...output=jpg]
[Image: 2d77a878ac580130956b15c84c18c118.png&w=1...output=jpg]
[Image: 596108eda698ebf4b6361cfd2a34d933.png&w=1...output=jpg]


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 shopCarPrice , CarRefund :: you may know these.IsSCar :: < VERY IMPORTANT > if its SCar, set to ' true ' if not, remove it or set to ' false 'Description :: DescriptionsAvaliableTeam :: 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/tuner_extensions/ PARTS_YOU_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.
Code:
STR:SetULXLimitationMessage("This part is limited for only admin and VIP users.")
  STR:AddULXLimitation("vvip")
  STR:AddULXLimitation("vip")
  STR:AddULXLimitation("admin")
  STR:AddULXLimitation("owner")

Code:
SetULXLimitationMessage : you can manually set error messages.
  AddULXLimitation : you can add ulx groups. as many as you want.
  • This is Vehicle Limitation.
Code:
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

Code:
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.
  • RXCar_GenerateTDMCodes and RXCar_GenerateSCarCodes : 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 3d_cardealer/Data Providers/dataprovider<YOUR MODULE>.txt and copy the codes all. And now paste them into 3d_car_dealer/lua/autorun/server/RXCar_DataProvider.lua
    1. Configure:: You will need to configure some information inside the data provider. like account name and password, etc.
    1. Setup your mysql databases:: You need to create database and tables. i made sql code to help you make table easy.
    1. 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.




Content locked
This content has been locked. Please login or register in order to unlock it.
This hidden content has been reported as not working 0 times this month.
2 times in total

RE: [LEAK] 3D Car Dealer 2

#2
06-02-2018, 10:55 AM
MightyBot2000 Wrote:
Dude That's Cool Does It Work Or No Because I want

I just tested and it does work, but it didntauto load all of the TDM cars. Maybe check for a backdoor or something, I did and didntfind anything but check to make sure.
Want some quality content? Check out my youtube channel!


RE: [LEAK] 3D Car Dealer 2

#3
This car dealer looks really fucking nice and is just what i was looking for.
[Image: v1.png]

RE: [LEAK] 3D Car Dealer 2

OP
#4
06-02-2018, 11:01 AM
FrogBoy Wrote:
I just tested and it does work, but it didntauto load all of the TDM cars. Maybe check for a backdoor or something, I did and didntfind anything but check to make sure.

do not load the cars, I just added 2 more if you want to add go in garrysmod \ addons \ 3d_car_dealer \ moon \ autorun 3DCarDealer_AddCars and put this with all information

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"}
table.insert (D3DCarConfig.Car, TB2Insert)

RE: [LEAK] 3D Car Dealer 2

#5
Sorry but you can't complete this

Swapping Data Provider :: Goto 3d_cardealer/Data Providers/dataprovider<YOUR MODULE>.txt and copy the codes all. And now paste them into 3d_car_dealer/lua/autorun/server/RXCar_DataProvider.lua

because /data providers/ is missing and RXCar_Dataprovider.lua doesn't exist

any solution???
[Image: 12SJOVB.gif]

RE: [LEAK] 3D Car Dealer 2

#6
Thanks, gonna try to this later tonight, hope it works!

RE: [LEAK] 3D Car Dealer 2

#7
Thanks for the leak "Rafael eat pastel" i was looking for this a while ago... i will check it.
[Image: 5SW8d4t.jpg]
Don't forget. Always, somewhere, someone is fighting for you. As long as you remember her, you are not alone.

RE: [LEAK] 3D Car Dealer 2

#8
Great this is the OLDEST VERSION OF 3D CAR DEALER ITS NOT UPDATE 4.0

RE: [LEAK] 3D Car Dealer 2

#9
If this really works, then this is a cool addon. kek

RE: [LEAK] 3D Car Dealer 2

#10
NICE ! Thanks for the leak bro, I really need this addon, hope still working

Users browsing this thread: 1 Guest(s)