DarkRP Vehicle Generator
Create custom buyable vehicles for your DarkRP server's F4 menu.
Have questions? Check the FAQBasic Configuration
Core settings for the vehicle — name, model, price, and category.
The vehicle identifier and display name
Cost to purchase this vehicle
The vehicle model path — must be a valid vehicle model
Display name in the F4 menu — uses name if empty
The tab this vehicle appears under in the F4 menu
Allowed Teams
Which job teams can purchase this vehicle. Leave empty to allow all teams.
Advanced Options
OptionalDarkRP.createVehicle({
name = "Vehicle",
model = "models/buggy.mdl",
price = 800,
})Where does this code go?
Paste the code into lua/darkrp_customthings/vehicles.lua inside the darkrpmodification addon on your server.
Full path: garrysmod/addons/darkrpmodification/lua/darkrp_customthings/vehicles.lua
Each vehicle needs a unique name. Restart your server or change the map for changes to take effect.
FAQ · Frequently. Asked. Questions.
Commonly asked questions about creating custom DarkRP vehicles, how they work, and what each option does.
Visit Knowledge Baselua/darkrp_customthings/vehicles.lua inside the darkrpmodification addon on your server. The full path is garrysmod/addons/darkrpmodification/lua/darkrp_customthings/vehicles.lua. This file is loaded automatically by DarkRP.Questions?
Join over 6,000+ members in our Discord community chat with other server owners, get help, and stay up to date with the latest news.
