Need help for making Cider Car

The titles says everything. Hello Facepunch. I try to make a car for my Cider RP.
But im not sure about this code; And yes i took this code from another old post. And i would like to thank shane_104.
But here is the code

Name: “sh_jeep.lua”.
Product: “Cider (Roleplay)”.

– Define the item table.
local ITEM = {};

– Set some information about the item. = “Jeep”;
ITEM.size = 5;
ITEM.cost = 5000;
ITEM.model = “models/buggy.mdl”;
ITEM.batch = 1; = true;
ITEM.plural = “Jeeps”;
ITEM.uniqueID = “jeep”;
ITEM.description = “A jeep to get about with.”;
ITEM.vehiclescript = “scripts/vehicles/jeep_test.txt”

– Called when a player uses the item.
function ITEM:onUse(player, item)
local car = ents.Create(“prop_vehicle_jeep_old”)
local trace = { }
trace.start = ply:EyePos()
trace.endpos = trace.start + ply:GetAimVector() * 85
trace.filter = ply
local tr = util.TraceLine(trace)
return false

function ITEM:onPickup() end;

function ITEM:canManufacture() end;


And im not even sure where i should place this in my cider folder.

  • Thanks In advance! :slight_smile:

Last time someone asked for help with cider cars they had exactly the same you had now, and left with the exact same.

I suggest you either give up, try by trial and error, or:

  • Put that in a new file in core/items