darkrp vehicle shipments

http://garrysmod-vehiclepack.googlecode.com/svn/trunk/

[URL=“http://subversion.assembla.com/svn/SicknessModel/”]

I had tried to make shipments for the pack. But failed the icons showed up but nothing came out.
I was able to make shipments for weapons that im using but the cars wont work. So can some one make shipments for the pack. If someone does make these for me and you make it TEAM_CAR AND TEAM_ADMIN that can spawn the shipments.
Also how do i give cop power to other classes and mayor powers to admin class

Thanks for the help!

anyone know

Take a look in addshipments.lua, where it clearly states how you add vehicles.

Oh where in it dose it say i have the svn. i dont see it in addshipments.lua
The way i been doing it the icons are there and they take my money but the car dont spawn.


CustomShipments = {}
function AddCustomShipment(name, model, entity, price, Amount_of_guns_in_one_shipment, Sold_seperately, price_seperately, noshipment, classes, shipmodel)
 if not name or not model or not entity or not price or not Amount_of_guns_in_one_shipment or (Sold_seperately and not price_seperately) then
  local text = "One of the custom shipments is wrongly made! Attempt to give name of the wrongly made shipment!(if it's nil then I failed):
" .. tostring(name)
  print(text)
  hook.Add("PlayerSpawn", "ShipmentError", function(ply)
   if ply:IsAdmin() then ply:ChatPrint("WARNING: "..text) end end)  
  return
 end
 if not util.IsValidModel(model) then
  local text = "The model of shipment "..name.." is incorrect! cannot create custom shipment!"
  print(text) 
  hook.Add("PlayerSpawn", "ShipmentError", function(ply)
   if ply:IsAdmin() then ply:ChatPrint("WARNING: "..text) end end)  
  return
 end
 local AllowedClasses = classes or {} // if classes isn't entered then only the Gundealer can buy them.
 local price = tonumber(price)
 local shipmentmodel = shipmodel or "models/Items/item_item_crate.mdl"
 table.insert(CustomShipments, {name = name, model = model, entity = entity, price = price, weight = 5, amount = Amount_of_guns_in_one_shipment, seperate = Sold_seperately, pricesep = price_seperately, noship = noshipment, allowed = AllowedClasses, shipmodel = shipmentmodel})
end
/*
HOW TO ADD CUSTOM SHIPMENTS:
AddCustomShipment("<Name of the shipment(no spaces)>"," <the model that the shipment spawns(should be the world model...)>", "<the classname of the weapon>", <the price of one shipment>, <how many guns there are in one shipment>, <OPTIONAL: true/false sold seperately>, <OPTIONAL: price when sold seperately>, < true/false OPTIONAL: /buypistol only = true> , OPTIONAL which classes can buy the shipment, OPTIONAL: the model of the shipment)
Notes:
MODEL: you can go to Q and then props tab at the top left then search for w_ and you can find all world models of the weapons!
CLASSNAME OF THE WEAPON
there are half-life 2 weapons you can add:
weapon_pistol
weapon_smg1
weapon_ar2
weapon_rpg
weapon_crowbar
weapon_physgun
weapon_357
weapon_crossbow
weapon_slam
weapon_bugbait
weapon_frag
weapon_physcannon
weapon_shotgun
gmod_tool
But you can also add the classnames of Lua weapons by going into the weapons/ folder and look at the name of the folder of the weapon you want.
Like the player possessor swep in addons/Player Possessor/lua/weapons You see a folder called weapon_posessor 
This means the classname is weapon_posessor
YOU CAN ADD ITEMS/ENTITIES TOO! but to actually make the entity you have to press E on the thing that the shipment spawned, BUT THAT'S OK!
YOU CAN MAKE GUNDEALERS ABLE TO SELL MEDKITS!
true/false: Can the weapon be sold seperately?(with /buypistol name) if you want yes then say true else say no
the price of sold seperate is the price it is when you do /buypistol name. Of course you only have to fill this in when sold seperate is true.
 
EXAMPLES OF CUSTOM SHIPMENTS(remove the -- to activate it): */
//AddCustomShipment("HL2pistol", "models/weapons/W_pistol.mdl", "weapon_pistol", 500, 10, false, 200, false, {TEAM_GUN, TEAM_MEDIC})
--EXAMPLE OF AN ENTITY(in this case a medkit)
--AddCustomShipment("bball", "models/Combine_Helicopter/helicopter_bomb01.mdl", "sent_ball", 100, 10, false, 10, false, {TEAM_GUN}, "models/props_c17/oildrum001_explosive.mdl")
--EXAMPLE OF A BOUNCY BALL:     NOTE THAT YOU HAVE TO PRESS E REALLY QUICKLY ON THE BOMB OR YOU'LL EAT THE BALL LOL
--AddCustomShipment("bball", "models/Combine_Helicopter/helicopter_bomb01.mdl", "sent_ball", 100, 10, true, 10, true)
-- ADD CUSTOM SHIPMENTS HERE(next line):


Try addentities.lua then, I cant remember, havent had DarkRP on my computer for a while.

It was in there and i did what it said still didnt help and i also read this. http://wiki.garrysmod.com/?title=DarkRP:Vehicles
With no luck.

nvm i got it working so bye bye