I am trying to code these cars into my car dealer, It wants the unique name. Here is the example of the Lamborghini Reventon they gave me.
local TB2Insert = {}
TB2Insert.VehicleName = "reventonrtdm"
TB2Insert.CarName = "TDM - Reventon RoadSter"
TB2Insert.CarPrice = 100
TB2Insert.CarRefund = 100
TB2Insert.MaxAmount = 1
TB2Insert.Description = "Lamborghini"
table.insert(D3DCarConfig.Car,TB2Insert)
It's Script name/path when I spawn it:
[DCG] Dart<STEAM_0:1:49305547> spawned vehicle models/tdmcars/reventon_roadste/.mdl
and here is the default example
local TB2Insert = {}
TB2Insert.VehicleName = "Jeep" -- This is unique name.
TB2Insert.CarName = "Jeep" -- The car name. will be displayed at shop
TB2Insert.CarPrice = 100 -- price
TB2Insert.CarRefund = 100 -- refund
TB2Insert.MaxAmount = 1 -- max amount of this car.
TB2Insert.Description = "Jeep"
table.insert(D3DCarConfig.Car,TB2Insert)
I need to find out the unique name. How would I find that out?
I have figured out some cars (mainly by guessing) but ones like The Dodge Charger SRT-8 2012 I can not figure out.
Here is the code if have for it:
local TB2Insert = {}
TB2Insert.VehicleName = "charger12tdm"
TB2Insert.CarName = "Dodge Charger SRT-8 2012"
TB2Insert.CarPrice = 100
TB2Insert.CarRefund = 100
TB2Insert.MaxAmount = 1
TB2Insert.Description = "Built-in Real-Time Camera, All around great car, 4 Seats"
table.insert(D3DCarConfig.Car,TB2Insert)
It's Script name/path when I spawn it:
[DCG] Dart<STEAM_0:1:49305547> spawned vehicle models/tdmcars/dod_charger12.mdl
(Left SteamID in incase you want to add me.)
Lua tags please.
Go ingame and do following:
[CODE]Press Q -> Goto vechicles -> Find your car -> Left click it -> Copy to Clipboard -> CTRL+V and you'll see the name[/CODE]
[QUOTE=Netheous;43679436]Lua tags please.[/QUOTE]
How and where would i get those.
[QUOTE=Dartouious;43681046]How and where would i get those.[/QUOTE]
[code] code [ /code]
[QUOTE=The Beta;43679845]Go ingame and do following:
[CODE]Press Q -> Goto vechicles -> Find your car -> Left click it -> Copy to Clipboard -> CTRL+V and you'll see the name[/CODE][/QUOTE]
Wow did this really just work. Im such and idiot. Thank you!
Sorry, you need to Log In to post a reply to this thread.